summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/wasm/webapi/esm-integration/source-phase.tentative.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/wasm/webapi/esm-integration/source-phase.tentative.html')
-rw-r--r--testing/web-platform/tests/wasm/webapi/esm-integration/source-phase.tentative.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/web-platform/tests/wasm/webapi/esm-integration/source-phase.tentative.html b/testing/web-platform/tests/wasm/webapi/esm-integration/source-phase.tentative.html
index eb415a4c6f..870b16bd0a 100644
--- a/testing/web-platform/tests/wasm/webapi/esm-integration/source-phase.tentative.html
+++ b/testing/web-platform/tests/wasm/webapi/esm-integration/source-phase.tentative.html
@@ -13,7 +13,7 @@ const AbstractModuleSource = Object.getPrototypeOf(WebAssembly.Module);
assert_equals(AbstractModuleSource.name, "AbstractModuleSource");
assert_true(exportedNamesSource instanceof AbstractModuleSource);
-assert_array_equals(WebAssembly.Module.exports(exportedNamesSource).sort(),
+assert_array_equals(WebAssembly.Module.exports(exportedNamesSource).map(({ name }) => name).sort(),
["func", "glob", "mem", "tab"]);
const wasmImportFromWasmSource = await import.source("./resources/wasm-import-from-wasm.wasm");