aboutsummaryrefslogtreecommitdiff
path: root/test/snippets/package-json-utf8.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/snippets/package-json-utf8.js')
-rw-r--r--test/snippets/package-json-utf8.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/snippets/package-json-utf8.js b/test/snippets/package-json-utf8.js
new file mode 100644
index 000000000..a51fbb886
--- /dev/null
+++ b/test/snippets/package-json-utf8.js
@@ -0,0 +1,6 @@
+import pkg from "./utf8-package-json.json";
+
+export function test() {
+ console.assert(!!pkg.author);
+ return testDone(import.meta.url);
+}