forked from MapComplete/MapComplete
Better handling of image detection when running from ts-node; add some tests
This commit is contained in:
parent
eb1dfe84da
commit
3e75921754
4 changed files with 42 additions and 12 deletions
|
@ -25,4 +25,9 @@ export default class T {
|
|||
}
|
||||
}
|
||||
|
||||
static isTrue(b: boolean, msg: string) {
|
||||
if(!b){
|
||||
throw "Expected true, but got false: "+msg
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue