Better handling of image detection when running from ts-node; add some tests

This commit is contained in:
Pieter Vander Vennet 2021-04-09 13:59:49 +02:00
parent eb1dfe84da
commit 3e75921754
4 changed files with 42 additions and 12 deletions

View file

@ -25,4 +25,9 @@ export default class T {
}
}
static isTrue(b: boolean, msg: string) {
if(!b){
throw "Expected true, but got false: "+msg
}
}
}