forked from MapComplete/MapComplete
Fix tests
This commit is contained in:
parent
d9d6e96fed
commit
04a2cc9bc7
18 changed files with 71 additions and 72 deletions
|
@ -59,7 +59,7 @@ async function main() {
|
|||
|
||||
let args = [...process.argv]
|
||||
args.splice(0, 2)
|
||||
args = args.map(a => a.toLowerCase())
|
||||
args = args.map(a => a.toLowerCase().replace(/"/g, ""))
|
||||
|
||||
const allFailures: { testsuite: string, name: string, msg: string } [] = []
|
||||
let testsToRun = allTests
|
||||
|
@ -72,6 +72,7 @@ async function main() {
|
|||
}
|
||||
})
|
||||
testsToRun = allTests.filter(t => args.indexOf(t.name.toLowerCase()) >= 0)
|
||||
console.log("Only running test "+testsToRun.join(", "))
|
||||
}
|
||||
|
||||
if (testsToRun.length == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue