测试版
This commit is contained in:
10
node_modules/store/scripts/run-node-tests.js
generated
vendored
Normal file
10
node_modules/store/scripts/run-node-tests.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/local/bin/node
|
||||
|
||||
// simulate localStorage - must be done before importing tests
|
||||
var { Global } = require('../src/util')
|
||||
Global.localStorage = require('localStorage')
|
||||
|
||||
// Import and run tests
|
||||
var tests = require('../tests/tests')
|
||||
|
||||
tests.runTests()
|
||||
Reference in New Issue
Block a user