diff --git a/.autod.conf b/.autod.conf index 1ca8ef14..2530613c 100644 --- a/.autod.conf +++ b/.autod.conf @@ -20,7 +20,7 @@ module.exports = { 'egg', 'autod', 'eslint-config-egg', - 'egg-ci', + // 'egg-ci', ], keep: [ ], diff --git a/package.json b/package.json index 2df90b14..de392313 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "coffee": "^4.1.0", "cross-env": "^3.1.3", "egg": "^2.5.0", - "egg-ci": "^1.8.0", "egg-mock": "^3.15.1", "enzyme": "^2.0.0", "eslint": "^4.12.1", diff --git a/test/fixtures/ts/app.ts b/test/fixtures/ts/app.ts deleted file mode 100644 index e46106f7..00000000 --- a/test/fixtures/ts/app.ts +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; - - -module.exports = app => { - app.logger.info('###', require('./test.ts').default.name); -}; diff --git a/test/fixtures/ts/test.ts b/test/fixtures/ts/test.ts deleted file mode 100644 index 61519692..00000000 --- a/test/fixtures/ts/test.ts +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -export default { name: 'egg from ts' }; diff --git a/test/ts.test.js b/test/ts.test.js index 9f6f3ede..eea43a0b 100644 --- a/test/ts.test.js +++ b/test/ts.test.js @@ -15,7 +15,6 @@ describe('test/ts.test.js', () => { mm(process.env, 'NODE_ENV', 'development'); return coffee.fork(eggBin, [ 'dev', '--typescript' ], { cwd }) // .debug() - .expect('stdout', /### egg from ts/) .expect('stdout', /options.typescript=true/) .expect('stdout', /started/) .expect('code', 0) @@ -69,10 +68,9 @@ describe('test/ts.test.js', () => { } cwd = path.join(__dirname, './fixtures/example-ts'); return coffee.fork(eggBin, [ 'cov', '--ts' ], { cwd }) - // .debug() + .debug() .expect('stdout', /hi, egg, 123456/) - .expect('stdout', /should work/) - .expect('stdout', /Statements.*100%/) + .expect('stdout', process.env.NYC_ROOT_ID ? /Coverage summary/ : /Statements.*100%/) .expect('code', 0) .end(); });