(instance)
| 1 | import { strictEqual, deepStrictEqual } from 'node:assert'; |
| 2 | |
| 3 | export 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 | } |