This commit is contained in:
Cleon 2023-01-05 19:14:17 +13:00
parent f30c4264d2
commit 3515c8b412

View file

@ -1,7 +1,7 @@
import { MessageModal } from "./modal-message";
import { TAssertRunContext } from "./run-context";
export class AssertImplemention implements TAssertRunContext{
export class AssertImplemention implements TAssertRunContext {
private async showFailMessage( label:string, msg:string ) : Promise<void>{
const title = '❗ Assert Failed' + ( label.length > 0 ? ` - ${label}` : '' );
@ -54,4 +54,4 @@ export class AssertImplemention implements TAssertRunContext{
throw new Error(msg);
}
}
}