Skip to content

Commit

Permalink
test: remove test
Browse files Browse the repository at this point in the history
PR-URL: #32116
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
backes authored and mmarchini committed Mar 18, 2020
1 parent 119fdf6 commit 52944b8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/parallel/test-util-types.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
// Flags: --experimental-vm-modules --expose-internals
'use strict';
require('../common');
const fixtures = require('../common/fixtures');
const assert = require('assert');
const { types, inspect } = require('util');
const vm = require('vm');
const { internalBinding } = require('internal/test/binding');
const { JSStream } = internalBinding('js_stream');

const external = (new JSStream())._externalStream;
const wasmBuffer = fixtures.readSync('simple.wasm');

for (const [ value, _method ] of [
[ external, 'isExternal' ],
Expand Down Expand Up @@ -50,7 +48,6 @@ for (const [ value, _method ] of [
[ new DataView(new ArrayBuffer()) ],
[ new SharedArrayBuffer() ],
[ new Proxy({}, {}), 'isProxy' ],
[ new WebAssembly.Module(wasmBuffer), 'isWebAssemblyCompiledModule' ],
]) {
const method = _method || `is${value.constructor.name}`;
assert(method in types, `Missing ${method} for ${inspect(value)}`);
Expand Down

0 comments on commit 52944b8

Please sign in to comment.