Tests: added tests for NJS loadable modules.
This commit is contained in:
5
test/njs/import_from/script.js
Normal file
5
test/njs/import_from/script.js
Normal file
@@ -0,0 +1,5 @@
|
||||
import cr from 'crypto';
|
||||
|
||||
export default {
|
||||
"num" : function () {return typeof cr.createHash('md5').digest().length}
|
||||
}
|
||||
Reference in New Issue
Block a user