chore(deps-dev): bump prettier from 1.19.1 to 2.0.2

This commit is contained in:
DIYgod
2020-04-02 21:21:46 +08:00
parent 27e4a7c151
commit 0e7b14e718
471 changed files with 1237 additions and 4457 deletions

View File

@@ -6,7 +6,7 @@ describe('got', () => {
it('headers', async () => {
nock('http://rsshub.test')
.get('/test')
.reply(function() {
.reply(function () {
expect(this.req.headers['user-agent']).toBe(config.ua);
return [200, ''];
});
@@ -19,7 +19,7 @@ describe('got', () => {
nock('http://rsshub.test')
.get('/testRerty')
.times(config.requestRetry + 1)
.reply(function() {
.reply(function () {
requestRun();
return [404, '0'];
});
@@ -37,7 +37,7 @@ describe('got', () => {
it('axios', async () => {
nock('http://rsshub.test')
.post('/post')
.reply(function() {
.reply(function () {
return [200, '{"code": 0}'];
});