diff --git a/appveyor.yml b/appveyor.yml index 0ef97fa..3d15e52 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,6 +10,6 @@ install: test_script: - node --version - npm --version - - npm run ci + - npm run test build: off diff --git a/package.json b/package.json index 87581a2..45aa4cf 100644 --- a/package.json +++ b/package.json @@ -50,12 +50,12 @@ }, "devDependencies": { "autod": "^2.8.0", - "egg": "^1.4.0", - "egg-bin": "^3.4.2", - "egg-ci": "^1.7.0", - "egg-mock": "^3.7.2", + "egg": "^1.5.0", + "egg-bin": "^4.0.4", + "egg-ci": "^1.8.0", + "egg-mock": "^3.8.0", "eslint": "^3.19.0", - "eslint-config-egg": "^4.2.0", + "eslint-config-egg": "^4.2.1", "formstream": "^1.1.0", "is-type-of": "^1.0.0", "mkdirp": "^0.5.1", diff --git a/test/multipart.test.js b/test/multipart.test.js index 1f3152e..33cc5b4 100644 --- a/test/multipart.test.js +++ b/test/multipart.test.js @@ -403,7 +403,7 @@ describe('test/multipart.test.js', () => { }); assert(res.status === 400); - assert(res.data.toString().includes('Can't found upload file')); + assert(res.data.toString().includes('Can\'t found upload file')); }); it('should 400 when no file speicified', function* () { @@ -417,7 +417,7 @@ describe('test/multipart.test.js', () => { stream: form, }); assert(res.status === 400); - assert(res.data.toString().includes('Can't found upload file')); + assert(res.data.toString().includes('Can\'t found upload file')); }); });