Skip to content

Commit

Permalink
test: do not use deprecated import assertions
Browse files Browse the repository at this point in the history
PR-URL: #55873
Fixes: #55869
Reviewed-By: Richard Lau <[email protected]>
  • Loading branch information
aduh95 committed Feb 13, 2025
1 parent 06c523d commit d47e8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-vm-module-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async function circular2() {

async function asserts() {
const m = new SourceTextModule(`
import "foo" assert { n1: 'v1', n2: 'v2' };
import "foo" with { n1: 'v1', n2: 'v2' };
`, { identifier: 'm' });
await m.link((s, r, p) => {
assert.strictEqual(s, 'foo');
Expand Down

0 comments on commit d47e8cb

Please sign in to comment.