MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / assertFalse

Function assertFalse

apps/automated/src/tk-unit.ts:166–170  ·  view source on GitHub ↗
(test: boolean, message?: string)

Source from the content-addressed store, hash-verified

164}
165
166export function assertFalse(test: boolean, message?: string) {
167 if (test !== false) {
168 throw new Error(message);
169 }
170}
171
172export function assertNotEqual(actual: any, expected: any, message?: string) {
173 let equals = false;

Callers 3

test_isRunningFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected