(absolutePath: string, content?: string)
| 1545 | } |
| 1546 | |
| 1547 | export function createTempTestFile(absolutePath: string, content?: string) { |
| 1548 | createFolderForFile(absolutePath); |
| 1549 | fs.writeFileSync(absolutePath, content ?? ""); |
| 1550 | defer("delete temp file", () => tryDelete(absolutePath)); |
| 1551 | } |
| 1552 | |
| 1553 | export function validateExpectedEnv(e: Record<string, string | number | null>) { |
| 1554 | assert.equal(e.DASH__IDE_NAME, vs.env.appName); |