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