Skip to content

Commit d47e8cb

Browse files
committed
test: do not use deprecated import assertions
PR-URL: #55873 Fixes: #55869 Reviewed-By: Richard Lau <[email protected]>
1 parent 06c523d commit d47e8cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-vm-module-link.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ async function circular2() {
126126

127127
async function asserts() {
128128
const m = new SourceTextModule(`
129-
import "foo" assert { n1: 'v1', n2: 'v2' };
129+
import "foo" with { n1: 'v1', n2: 'v2' };
130130
`, { identifier: 'm' });
131131
await m.link((s, r, p) => {
132132
assert.strictEqual(s, 'foo');

0 commit comments

Comments
 (0)