File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /**
2+ * Chainable assertion API adapted from Nitro.
3+ * @see https://github.com/mrousavy/nitro/blob/main/example/src/testing/State.ts
4+ */
15import type { AssertionBackend , JSType } from './types' ;
26
37function stringify ( value : unknown ) : string {
Original file line number Diff line number Diff line change 1+ /**
2+ * Test runner factory with timeout handling, adapted from Nitro.
3+ * @see https://github.com/mrousavy/nitro/blob/main/example/src/testing/createTestRunner.ts
4+ */
15import { State } from './State' ;
26import type { AssertionBackend } from './types' ;
37
Original file line number Diff line number Diff line change 1+ /**
2+ * Assertion backend that throws on failure, for in-app test UI.
3+ * @see https://github.com/mrousavy/nitro/blob/main/example/src/testing/backends/throwing.ts
4+ */
15import deepEqual from 'deep-equal' ;
26import type { AssertionBackend , JSType } from './types' ;
37
Original file line number Diff line number Diff line change 1+ /**
2+ * Testing infrastructure adapted from Nitro's example app.
3+ * @see https://github.com/mrousavy/nitro/tree/main/example/src/testing
4+ */
15import type { RiveFile } from '@rive-app/react-native' ;
26
37export type JSType =
You can’t perform that action at this time.
0 commit comments