fixed unit tests

This commit is contained in:
Chen Yi-Cyuan
2017-10-03 09:40:36 +08:00
parent b808ed4605
commit e7f1ca7da8
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -70,6 +70,8 @@ SOURCE = 'src/md5.js';
require('./worker-test.js');
delete require.cache[require.resolve('./worker-test.js')];
// cover webworker
JS_MD5_NO_WINDOW = true;
JS_MD5_NO_NODE_JS = true;