summaryrefslogtreecommitdiffhomepage
path: root/test/njs/import_from/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/njs/import_from/script.js')
-rw-r--r--test/njs/import_from/script.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/njs/import_from/script.js b/test/njs/import_from/script.js
new file mode 100644
index 00000000..99d1b80e
--- /dev/null
+++ b/test/njs/import_from/script.js
@@ -0,0 +1,5 @@
+import cr from 'crypto';
+
+export default {
+ "num" : function () {return typeof cr.createHash('md5').digest().length}
+}