Skip to content

Commit 51c755b

Browse files
committed
test(plugin-typescript): fix path for windows
1 parent 3f16848 commit 51c755b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/plugin-typescript/src/lib/runner/utils.int.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import * as tsModule from 'typescript';
22
import { describe, expect } from 'vitest';
3+
import { osAgnosticPath } from '@code-pushup/test-utils';
34
import { loadTargetConfig } from './utils.js';
45

56
describe('loadTargetConfig', () => {
@@ -12,7 +13,9 @@ describe('loadTargetConfig', () => {
1213
it('should return the parsed content of a tsconfig file and ist TypeScript helper to parse it', () => {
1314
expect(
1415
loadTargetConfig(
15-
'packages/plugin-typescript/mocks/fixtures/basic-setup/tsconfig.init.json',
16+
osAgnosticPath(
17+
'packages/plugin-typescript/mocks/fixtures/basic-setup/tsconfig.init.json',
18+
),
1619
),
1720
).toStrictEqual(
1821
expect.objectContaining({

0 commit comments

Comments
 (0)