MCPcopy Create free account
hub / github.com/bytecodealliance/ComponentizeJS / test

Function test

test/cases/conventions/test.js:3–11  ·  view source on GitHub ↗
(instance)

Source from the content-addressed store, hash-verified

1import { strictEqual, deepStrictEqual } from 'node:assert';
2
3export function test (instance) {
4 const val = {
5 howFastAreYouGoing: 999,
6 iAmGoingExtremelySlow: 999999n
7 };
8 strictEqual(instance.conventions.foo(val), undefined);
9 // checks roundtripping
10 deepStrictEqual(globalThis.x, val);
11}

Callers

nothing calls this directly

Calls 1

fooMethod · 0.45

Tested by

no test coverage detected