diff options
Diffstat (limited to 'scripts/test')
-rw-r--r-- | scripts/test/node-esm-loader.mjs | 4 | ||||
-rwxr-xr-x | scripts/test/wasm2js.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/test/node-esm-loader.mjs b/scripts/test/node-esm-loader.mjs index 9d073c171..34649fd74 100644 --- a/scripts/test/node-esm-loader.mjs +++ b/scripts/test/node-esm-loader.mjs @@ -23,13 +23,13 @@ export function resolve(specifier, parentModuleURL = baseURL, defaultResolve) { const resolved = new URL('./scripts/test/' + specifier + '.js', baseURL); return { url: resolved.href, - format: 'esm' + format: 'module' }; } const resolved = new URL(specifier, parentModuleURL); return { url: resolved.href, - format: 'esm' + format: 'module' }; } diff --git a/scripts/test/wasm2js.py b/scripts/test/wasm2js.py index 24c14680d..5e30ae0d7 100755 --- a/scripts/test/wasm2js.py +++ b/scripts/test/wasm2js.py @@ -94,7 +94,7 @@ def test_wasm2js_output(): fail_if_not_identical(out, '') cmd = node[:] cmd.append('a.2asm.asserts.mjs') - out = run_command(cmd, expected_err='', err_ignore='The ESM module loader is experimental') + out = run_command(cmd, expected_err='', err_ignore='ExperimentalWarning') fail_if_not_identical(out, '') fail_if_not_identical_to_file(''.join(all_out), expected_file) |