MCPcopy Create free account
hub / github.com/nodejs/node / CheckInvalid

Function CheckInvalid

deps/v8/test/mjsunit/wasm/custom-descriptors-validity.js:27–30  ·  view source on GitHub ↗
(message, ...recgroups)

Source from the content-addressed store, hash-verified

25}
26
27function CheckInvalid(message, ...recgroups) {
28 let builder = Build(...recgroups);
29 assertThrows(() => builder.instantiate(), WebAssembly.CompileError, message);
30}
31
32CheckValid((builder) => {
33 builder.addStruct({descriptor: 1});

Callers 1

Calls 3

BuildFunction · 0.85
assertThrowsFunction · 0.50
instantiateMethod · 0.45

Tested by

no test coverage detected