Skip to content

Commit

Permalink
test: remove only (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
atian25 authored and fengmk2 committed Jan 17, 2017
1 parent 6c86e25 commit 9ec223a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/egg-dev.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('egg-bin dev', () => {
.end(done);
});

it.only('should startCluster with -p', done => {
it('should startCluster with -p', done => {
coffee.fork(eggBin, [ 'dev', '-p', '6001' ], { cwd: appdir })
// .debug()
.expect('stdout', `{"baseDir":"${appdir}","workers":1,"port":"6001","customEgg":"${customEgg}"}\n`)
Expand Down Expand Up @@ -55,7 +55,7 @@ describe('egg-bin dev', () => {
it('should auto detect available port', done => {
coffee.fork(eggBin, [ 'dev' ], { cwd: appdir })
// .debug()
.expect('stdout', `{"baseDir":"${appdir}","workers":1,"customEgg":"${customEgg}"}\n`)
.expect('stdout', `{"baseDir":"${appdir}","workers":1,"port":"7002","customEgg":"${customEgg}"}\n`)
.expect('stderr', /\[egg-bin] server port 7001 is in use/)
.expect('code', 0)
.end(done);
Expand Down

0 comments on commit 9ec223a

Please sign in to comment.