forked from enviPath/enviPy
Current Dev State
This commit is contained in:
14
static/js/ketcher2/node_modules/tap/bin/mochatap.js
generated
vendored
Executable file
14
static/js/ketcher2/node_modules/tap/bin/mochatap.js
generated
vendored
Executable file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env node
|
||||
var tap = require('../lib/tap.js')
|
||||
var args = process.argv.slice(2)
|
||||
|
||||
if (args.length === 1) {
|
||||
var path = require('path')
|
||||
var file = path.resolve(args[0])
|
||||
tap.mochaGlobals()
|
||||
require(file)
|
||||
} else {
|
||||
for (var i = 0; i < args.length; i++) {
|
||||
tap.spawn(process.execPath, [__filename, args[i]])
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user