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

Function expectToHaveNoDiagnostics

test/util.ts:365–371  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

363 }
364
365 public expectToHaveNoDiagnostics(): this {
366 if (this.diagnosticsChecked) return this;
367 this.diagnosticsChecked = true;
368
369 expect(this.getLuaDiagnostics()).not.toHaveDiagnostics();
370 return this;
371 }
372
373 public expectNoTranspileException(): this {
374 expect(() => this.getLuaResult()).not.toThrow();

Callers

nothing calls this directly

Calls 2

expectFunction · 0.85
toHaveDiagnosticsMethod · 0.80

Tested by

no test coverage detected