parent
1df35e971a
commit
4fa6686a74
|
@ -2,8 +2,9 @@
|
||||||
|
|
||||||
import { suite } from 'metaltest'
|
import { suite } from 'metaltest'
|
||||||
|
|
||||||
const run = async () => {
|
const run = async (folder) => {
|
||||||
await suite(process.cwd())
|
if (!folder) folder = process.cwd()
|
||||||
|
await suite(folder)
|
||||||
}
|
}
|
||||||
|
|
||||||
const [, , folder] = process.argv
|
const [, , folder] = process.argv
|
|
@ -4,6 +4,7 @@
|
||||||
"description": "Clone of baretest with reporting",
|
"description": "Clone of baretest with reporting",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"exports": "./index.js",
|
"exports": "./index.js",
|
||||||
|
"bin": "./cli/suite.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node suite.js"
|
"test": "node suite.js"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue