Skip to content

Commit

Permalink
fff
Browse files Browse the repository at this point in the history
  • Loading branch information
atian25 committed Mar 28, 2018
1 parent 8e74b1e commit 5f77aa4
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .autod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
'egg',
'autod',
'eslint-config-egg',
'egg-ci',
// 'egg-ci',
],
keep: [
],
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 0 additions & 6 deletions test/fixtures/ts/app.ts

This file was deleted.

3 changes: 0 additions & 3 deletions test/fixtures/ts/test.ts

This file was deleted.

6 changes: 2 additions & 4 deletions test/ts.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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();
});
Expand Down

0 comments on commit 5f77aa4

Please sign in to comment.