From 230a5f3f7b69cf372a85bb26796f1928eca2371c Mon Sep 17 00:00:00 2001 From: Jan Krems Date: Mon, 30 Oct 2017 10:42:02 -0700 Subject: [PATCH 1/2] chore: Bump tap to 10.7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 070abfa..f31666d 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "devDependencies": { "eslint": "^3.10.2", "nlm": "^3.0.0", - "tap": "^7.1.2" + "tap": "^10.7.0" }, "author": { "name": "Jan Krems", From 7a2e131a25bc5f8f863c012f5e9251fb265de51d Mon Sep 17 00:00:00 2001 From: Jan Krems Date: Mon, 30 Oct 2017 10:45:33 -0700 Subject: [PATCH 2/2] test: Use useful break location --- test/cli/break.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cli/break.test.js b/test/cli/break.test.js index 59b12cd..ce8c8d6 100644 --- a/test/cli/break.test.js +++ b/test/cli/break.test.js @@ -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, @@ -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())