(names: string[])
| 369 | }) |
| 370 | |
| 371 | function writeFixture(names: string[]): string { |
| 372 | const dir = fs.mkdtempSync(join(os.tmpdir(), 'lint-multi-nb-')) |
| 373 | tempDirs.push(dir) |
| 374 | const filePath = join(dir, 'multi.deepnote') |
| 375 | fs.writeFileSync(filePath, serializeDeepnoteFile(multiNotebookFile(names))) |
| 376 | return filePath |
| 377 | } |
| 378 | |
| 379 | it('emits multi-notebook for files with more than one non-init notebook', async () => { |
| 380 | const action = createLintAction(program) |
no test coverage detected