(name: string, main = 'src/index.js')
| 63 | } |
| 64 | |
| 65 | export function getTestCase(name: string, main = 'src/index.js') { |
| 66 | return { |
| 67 | [main]: `console.log('hello-world')`, |
| 68 | 'package.json': JSON.stringify({ main, name }, null, 2) |
| 69 | }; |
| 70 | } |
| 71 | |
| 72 | function createModuleTestCase(name: string) { |
| 73 | const testCase = getTestCase(name); |
no test coverage detected