From ef1cf6b0408e059fb7224b48c9d69c9ea2a7318a Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 19 Oct 2016 13:31:18 +0200 Subject: [PATCH] test: remove test-v8-inspector-json-protocol test Remove parallel/test-v8-inspector-json-protocol, it duplicates the test found in inspector/test-inspector. PR-URL: https://github.com/nodejs/node/pull/9184 Reviewed-By: Ali Ijaz Sheikh Reviewed-By: Colin Ihrig Reviewed-By: Eugene Ostroukhov Reviewed-By: James M Snell --- .../test-v8-inspector-json-protocol.js | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 test/parallel/test-v8-inspector-json-protocol.js diff --git a/test/parallel/test-v8-inspector-json-protocol.js b/test/parallel/test-v8-inspector-json-protocol.js deleted file mode 100644 index 762c4386bb906a..00000000000000 --- a/test/parallel/test-v8-inspector-json-protocol.js +++ /dev/null @@ -1,22 +0,0 @@ -// Flags: --inspect={PORT} -'use strict'; - -const common = require('../common'); -const assert = require('assert'); -const http = require('http'); - -const options = { - path: '/json/protocol', - port: common.PORT, - host: common.localhostIPv4, -}; - -http.get(options, common.mustCall((res) => { - let body = ''; - res.setEncoding('utf8'); - res.on('data', (data) => body += data); - res.on('end', common.mustCall(() => { - assert(body.length > 0); - assert.deepStrictEqual(JSON.stringify(JSON.parse(body)), body); - })); -}));