Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
whxaxes committed Apr 25, 2021
1 parent fb8d52d commit d78314b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ test/fixtures/ts/node_modules/aliyun-egg/
!test/fixtures/egg-require/node_modules/
test/fixtures/example-ts-ets/typings/
!test/fixtures/example-ts-ets/node_modules/
!test/fixtures/example-ts-simple/node_modules/


**/run/*.json
Expand Down
8 changes: 8 additions & 0 deletions test/fixtures/example-ts-simple/node_modules/egg/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions test/fixtures/example-ts-simple/node_modules/egg/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test/ts.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ describe('test/ts.test.js', () => {
it('should start app with flags in app without eggInfo', async () => {
const cwd = path.join(__dirname, './fixtures/example-ts-simple');
await coffee.fork(eggBin, [ 'dev', '--ts' ], { cwd })
.debug()
// .debug()
.expect('stdout', /started/)
.expect('code', 0)
.end();

await coffee.fork(eggBin, [ 'dev', '--ts', '--tsc=esbuild-register' ], { cwd })
.debug()
// .debug()
.expect('stdout', /started/)
.expect('code', 0)
.end();
Expand Down

0 comments on commit d78314b

Please sign in to comment.