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