Skip to content

Commit 0f8f66f

Browse files
committed
test(plugin-eslint): skip nx integration tests on windows
context: nrwl/nx#27494 (comment)
1 parent 15331de commit 0f8f66f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/plugin-eslint/src/lib/nx.integration.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import path from 'node:path';
2+
import process from 'node:process';
23
import { fileURLToPath } from 'node:url';
34
import type { MockInstance } from 'vitest';
45
import { executeProcess } from '@code-pushup/utils';
@@ -11,7 +12,8 @@ import {
1112

1213
type Project = 'cli' | 'core' | 'nx-plugin' | 'utils';
1314

14-
describe('Nx helpers', () => {
15+
// skipping tests on Windows due to a problem with createProjectGraphAsync that hangs forever, issue seems to be connected to nested git or some other Nx graph related problem https://github.com/nrwl/nx/issues/27494#issuecomment-2633836688
16+
describe.skipIf(process.platform === 'win32')('Nx helpers', () => {
1517
let cwdSpy: MockInstance<[], string>;
1618

1719
beforeAll(async () => {

0 commit comments

Comments
 (0)