MCPcopy Index your code
hub / github.com/TypeScriptToLua/TypeScriptToLua / expectNoTranspileException

Function expectNoTranspileException

test/util.ts:373–376  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

371 }
372
373 public expectNoTranspileException(): this {
374 expect(() => this.getLuaResult()).not.toThrow();
375 return this;
376 }
377
378 public expectNoExecutionError(): this {
379 const luaResult = this.getLuaExecutionResult();

Callers

nothing calls this directly

Calls 2

expectFunction · 0.85
getLuaResultMethod · 0.80

Tested by

no test coverage detected