summaryrefslogtreecommitdiff
path: root/tests/registry/npm/@denotest/dynamic-import/1.0.0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/registry/npm/@denotest/dynamic-import/1.0.0')
-rw-r--r--tests/registry/npm/@denotest/dynamic-import/1.0.0/index.js3
-rw-r--r--tests/registry/npm/@denotest/dynamic-import/1.0.0/package.json5
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/registry/npm/@denotest/dynamic-import/1.0.0/index.js b/tests/registry/npm/@denotest/dynamic-import/1.0.0/index.js
new file mode 100644
index 000000000..4dc3831f9
--- /dev/null
+++ b/tests/registry/npm/@denotest/dynamic-import/1.0.0/index.js
@@ -0,0 +1,3 @@
+export function dynamicImport(url) {
+ return import(url);
+}
diff --git a/tests/registry/npm/@denotest/dynamic-import/1.0.0/package.json b/tests/registry/npm/@denotest/dynamic-import/1.0.0/package.json
new file mode 100644
index 000000000..fa970177c
--- /dev/null
+++ b/tests/registry/npm/@denotest/dynamic-import/1.0.0/package.json
@@ -0,0 +1,5 @@
+{
+ "name": "@denotest/dynamic-import",
+ "type": "module",
+ "version": "1.0.0"
+}