From 41148d74a2d563eea3b7ad5463622b6b9fd4c46e Mon Sep 17 00:00:00 2001 From: Jan Krems Date: Wed, 15 Mar 2017 12:11:13 -0700 Subject: [PATCH] test: Remove outdated test --- package.json | 2 +- test/cli/start-cli.js | 5 +++++ test/node-inspect.test.js | 9 --------- 3 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644 test/node-inspect.test.js diff --git a/package.json b/package.json index 536a525..1834956 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "scripts": { "pretest": "eslint --rulesdir=tools/eslint-rules lib test", - "test": "tap \"test/**/*.test.js\"", + "test": "tap test", "posttest": "nlm verify" }, "nlm": { diff --git a/test/cli/start-cli.js b/test/cli/start-cli.js index 267aac5..5a652e3 100644 --- a/test/cli/start-cli.js +++ b/test/cli/start-cli.js @@ -1,6 +1,11 @@ 'use strict'; const spawn = require('child_process').spawn; +// This allows us to keep the helper inside of `test/` without tap warning +// about "pending" test files. +const tap = require('tap'); +tap.test('startCLI', (t) => t.end()); + const CLI = process.env.USE_EMBEDDED_NODE_INSPECT === '1' ? 'inspect' : diff --git a/test/node-inspect.test.js b/test/node-inspect.test.js deleted file mode 100644 index 12e7313..0000000 --- a/test/node-inspect.test.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; -const tap = require('tap'); - -const nodeInspect = require('../'); - -tap.equal( - 9229, - nodeInspect.port, - 'Uses the --inspect default port');