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

Commit c07adb1

Browse files
author
Jan Krems
committed
test: Use useful break location
1 parent ebfd02e commit c07adb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cli/break.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ test('sb before loading file', (t) => {
134134

135135
return cli.waitForInitialBreak()
136136
.then(() => cli.waitForPrompt())
137-
.then(() => cli.command('sb("other.js", 3)'))
137+
.then(() => cli.command('sb("other.js", 2)'))
138138
.then(() => {
139139
t.match(
140140
cli.output,
@@ -145,7 +145,7 @@ test('sb before loading file', (t) => {
145145
.then(() => {
146146
t.match(
147147
cli.output,
148-
`break in ${otherScript}:3`,
148+
`break in ${otherScript}:2`,
149149
'found breakpoint in file that was not loaded yet');
150150
})
151151
.then(() => cli.quit())

0 commit comments

Comments
 (0)