(name: string, token: string)
| 54 | } |
| 55 | |
| 56 | function writeTokenFile(name: string, token: string): string { |
| 57 | const path = join(tempDir, name) |
| 58 | writeFileSync(path, token, 'utf8') |
| 59 | return path |
| 60 | } |
| 61 | |
| 62 | beforeAll(async () => { |
| 63 | tempDir = await mkdtemp(join(tmpdir(), 'ncode-session-ingress-auth-test-')) |
no outgoing calls
no test coverage detected