(definition: SourceValueDefinition, value: unknown)
| 5 | const LABEL = 'config file'; |
| 6 | |
| 7 | function parse(definition: SourceValueDefinition, value: unknown) { |
| 8 | return parseSourceValue(definition, value, LABEL, 'someKey'); |
| 9 | } |
| 10 | |
| 11 | function expectInvalidArgs(fn: () => unknown, messageFragment?: string) { |
| 12 | expect(fn).toThrow( |
no test coverage detected