Skip to content

Commit

Permalink
test(plugin-eslint): skip nx integration tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
vmasek committed Feb 11, 2025
1 parent 15331de commit 0f8f66f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/plugin-eslint/src/lib/nx.integration.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import path from 'node:path';
import process from 'node:process';
import { fileURLToPath } from 'node:url';
import type { MockInstance } from 'vitest';
import { executeProcess } from '@code-pushup/utils';
Expand All @@ -11,7 +12,8 @@ import {

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

describe('Nx helpers', () => {
// 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
describe.skipIf(process.platform === 'win32')('Nx helpers', () => {
let cwdSpy: MockInstance<[], string>;

beforeAll(async () => {
Expand Down

0 comments on commit 0f8f66f

Please sign in to comment.