(v: unknown, label: string)
| 127 | } |
| 128 | |
| 129 | function expectStringOrNull(v: unknown, label: string) { |
| 130 | if (v === null) return; |
| 131 | expect(typeof v, label).toBe('string'); |
| 132 | } |
| 133 | |
| 134 | function validateTestCode(value: unknown, label = 'TestCode'): void { |
| 135 | expect(value, `${label}: must be an object`).toBeTypeOf('object'); |
no outgoing calls
no test coverage detected