Skip to content

Commit

Permalink
Fix inspector tests, you can now have multiple inspector sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound authored and alexeykuzmin committed Jun 18, 2018
1 parent f86c087 commit 206e43b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/node-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ describe('node feature', () => {
})
})

// TODO(alexeykuzmin): [Ch66] Time out. Fix them and enable back.
xdescribe('inspector', () => {
describe('inspector', () => {
let child

afterEach(() => {
Expand Down Expand Up @@ -240,7 +239,7 @@ describe('node feature', () => {
child.on('message', ({cmd, debuggerEnabled, secondSessionOpened, success}) => {
if (cmd === 'assert') {
assert.equal(debuggerEnabled, true)
assert.equal(secondSessionOpened, false)
assert.equal(secondSessionOpened, true)
assert.equal(success, true)
done()
}
Expand Down

0 comments on commit 206e43b

Please sign in to comment.