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

Function test

test/cases/resource-top-level/test.js:4–9  ·  view source on GitHub ↗
(instance)

Source from the content-addressed store, hash-verified

2import Thing from './thing.js';
3
4export function test(instance) {
5 const thing = new Thing(5);
6
7 instance.f(thing);
8 strictEqual(thing.get(), 6);
9}

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected