(src: string)
| 124 | |
| 125 | describe('reading config.matcher', () => { |
| 126 | const read = (src: string): string[] | 'all' => { |
| 127 | const out = readProxyMatcher(src); |
| 128 | return out === 'all' ? out : out.map((e) => e.source); |
| 129 | }; |
| 130 | |
| 131 | it('is every path with no config, or a config with no matcher', () => { |
| 132 | expect(read('export function proxy() {}\n')).toBe('all'); |
no test coverage detected