Skip to content

Commit fbcbd5f

Browse files
committed
fixup
1 parent 08e66d3 commit fbcbd5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/es-module/test-esm-wasm.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ describe('ESM: WASM modules', { concurrency: !process.env.TEST_PARALLEL }, () =>
6868
'--input-type=module',
6969
'--eval',
7070
[
71-
'import { strictEqual, deepStrictEqual, assert } from "node:assert";',
71+
'import { strictEqual, deepStrictEqual, ok } from "node:assert";',
7272

7373
// SIMD is not supported on rhel8-ppc64le
7474
'try {',
7575
` const wasmExports = await import(${JSON.stringify(fixtures.fileURL('es-modules/globals.wasm'))});`,
7676
'} catch (e) {',
77-
' assert(e instanceof WebAssembly.CompileError);',
78-
' assert(e.message.includes("SIMD unsupported"));',
77+
' ok(e instanceof WebAssembly.CompileError);',
78+
' ok(e.message.includes("SIMD unsupported"));',
7979
'}',
8080

8181
// Test imported globals using direct access

0 commit comments

Comments
 (0)