MCPcopy Index your code
hub / github.com/bytecodealliance/ComponentizeJS / test

Function test

test/builtins/math-random.js:9–13  ·  view source on GitHub ↗
(run)

Source from the content-addressed store, hash-verified

7`;
8
9export async function test(run) {
10 const { stdout, stderr } = await run();
11 strictEqual(stderr, '');
12 ok(Number(stdout) > 0 && Number(stdout) < 1);
13}

Callers

nothing calls this directly

Calls 1

runFunction · 0.50

Tested by

no test coverage detected