summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Tests/modules/import-with-assertions.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Tests/modules/import-with-assertions.mjs')
-rw-r--r--Userland/Libraries/LibJS/Tests/modules/import-with-assertions.mjs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Tests/modules/import-with-assertions.mjs b/Userland/Libraries/LibJS/Tests/modules/import-with-assertions.mjs
new file mode 100644
index 0000000000..e2381201c7
--- /dev/null
+++ b/Userland/Libraries/LibJS/Tests/modules/import-with-assertions.mjs
@@ -0,0 +1,4 @@
+import * as self from "./import-with-assertions.mjs" assert { "key": "value", key2: "value2", default: "shouldwork" };
+import "./import-with-assertions.mjs" assert { "key": "value", key2: "value2", default: "shouldwork" };
+
+export { passed } from "./module-with-default.mjs" assert { "key": "value", key2: "value2", default: "shouldwork" };