Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
test: Use useful break location
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Krems committed Jan 24, 2018
1 parent ebfd02e commit c07adb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cli/break.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ test('sb before loading file', (t) => {

return cli.waitForInitialBreak()
.then(() => cli.waitForPrompt())
.then(() => cli.command('sb("other.js", 3)'))
.then(() => cli.command('sb("other.js", 2)'))
.then(() => {
t.match(
cli.output,
Expand All @@ -145,7 +145,7 @@ test('sb before loading file', (t) => {
.then(() => {
t.match(
cli.output,
`break in ${otherScript}:3`,
`break in ${otherScript}:2`,
'found breakpoint in file that was not loaded yet');
})
.then(() => cli.quit())
Expand Down

0 comments on commit c07adb1

Please sign in to comment.