(filePath: string, content: string)
| 9 | const createTempDir = () => fs.mkdtempSync(path.join(os.tmpdir(), 'rsshub-dir-import-')); |
| 10 | |
| 11 | const writeFile = (filePath: string, content: string) => { |
| 12 | fs.mkdirSync(path.dirname(filePath), { recursive: true }); |
| 13 | fs.writeFileSync(filePath, content, 'utf8'); |
| 14 | }; |
| 15 | |
| 16 | describe('directory-import', () => { |
| 17 | let tempDir = ''; |
no outgoing calls
no test coverage detected