Skip to content

Commit 0402a2f

Browse files
committed
fix(test): correct import path in json-parsing-edge-cases test
Fix dynamic import from '../src/' to '../../src/' to match new test directory structure. EOF
1 parent 4ca5f98 commit 0402a2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/json-parsing-edge-cases.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ vi.mock('@socketsecurity/lib/json', () => ({
1010
}))
1111

1212
// Use dynamic imports to ensure mocks are applied.
13-
const { getResponseJson } = await import('../src/http-client.js')
13+
const { getResponseJson } = await import('../../src/http-client.js')
1414
const { jsonParse } = await import('@socketsecurity/lib/json')
1515
const mockJsonParse = vi.mocked(jsonParse)
1616

0 commit comments

Comments
 (0)