(files)
| 34 | .filter(Boolean); |
| 35 | |
| 36 | const writeFiles = (files) => { |
| 37 | mkdirSync(DESTINATION_DIR); |
| 38 | |
| 39 | files.forEach((f) => |
| 40 | writeFileSync( |
| 41 | path.join( |
| 42 | DESTINATION_DIR, |
| 43 | `${path.basename(f.path, JS_EXT)}${TS_TEST_EXT}` |
| 44 | ), |
| 45 | f.content |
| 46 | ) |
| 47 | ); |
| 48 | }; |
| 49 | |
| 50 | rimraf.sync(DESTINATION_DIR); |
| 51 | writeFiles(getFiles()); |
no outgoing calls
no test coverage detected
searching dependent graphs…