mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-10-26 16:55:08 +00:00
test: canonicalize browser notices fixture paths
This commit is contained in:
1 parent
0e060aa675
commit
a280cf34f5
1 file changed
+2
-2
@@ -1,4 +1,4 @@
|
||||
import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, symlinkSync, unlinkSync, writeFileSync } from 'node:fs'
|
||||
import { existsSync, mkdirSync, mkdtempSync, readFileSync, realpathSync, rmSync, symlinkSync, unlinkSync, writeFileSync } from 'node:fs'
|
||||
import { createRequire } from 'node:module'
|
||||
import { tmpdir } from 'node:os'
|
||||
import { dirname, join, resolve } from 'node:path'
|
||||
@@ -29,7 +29,7 @@ afterEach(() => {
|
||||
})
|
||||
|
||||
function fixture(): string {
|
||||
const root = mkdtempSync(join(tmpdir(), 'dsh-browser-notices-'))
|
||||
const root = realpathSync.native(mkdtempSync(join(tmpdir(), 'dsh-browser-notices-')))
|
||||
roots.push(root)
|
||||
write(root, 'package.json', '{"type":"module"}')
|
||||
write(root, 'tsconfig.base.json', JSON.stringify({
|
||||
|
||||
Reference in new issue
Block a user