I want to make some notes

Hi, guys, long time to not update my blog in 博客园,Now, I'm studying in Denmark, and worked part-time in a start-up. Everything is fine now. For everyday I touch new things in my work and study, I want record them in my blogs, because they are so easy to be forgotten. Meanwhile, I think it is very hard to insist if I cost several hours to do this thing, I don't want to give up after several days:) So, I decide just to take about half a hour a day to do this meaningful thing. It's cooool.

Ok, I will start and most piece of words would be in English in order to help myself practice my English.

deployment, CI/CD

Many start-ups put their code repositories in github or gitlab, and when them push a new version to gitlab, they need a quick and robust tool to deploy the code to production environment (like amazon cloud). So this whole process is called Continuous integration and Continuous deployment. Jenkins is a good tool to do this job and have both windows and linux version.

use jest to mock a file object or file-upload process

In my company, I need using jest to test the server (using apollo server and graphql), but it's really hard to mock the file stuff. I search in goole, tried a lot of solution, and still can't find one that works. So I ask my question in StackOverflow https://stackoverflow.com/questions/57506231/how-to-mock-file-upload-or-file-object-in-jest

猜你喜欢

转载自www.cnblogs.com/Andres/p/11360268.html