diff --git a/.github/workflows/test-nightly.yml b/.github/workflows/test-nightly.yml index 480ed9b8363c..12f5ee8acc4c 100644 --- a/.github/workflows/test-nightly.yml +++ b/.github/workflows/test-nightly.yml @@ -23,7 +23,7 @@ jobs: - name: Use Node.js nightly build uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: 23-nightly + node-version: 26-nightly cache: yarn - name: install run: yarn --immutable @@ -57,7 +57,7 @@ jobs: - name: Use Node.js nightly build uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: 23-nightly + node-version: 26-nightly cache: yarn - name: install run: yarn --immutable diff --git a/e2e/__tests__/__snapshots__/testFailingJasmine.test.ts.snap b/e2e/__tests__/__snapshots__/testFailingJasmine.test.ts.snap index 403ba1b04155..e692ccb0516e 100644 --- a/e2e/__tests__/__snapshots__/testFailingJasmine.test.ts.snap +++ b/e2e/__tests__/__snapshots__/testFailingJasmine.test.ts.snap @@ -46,7 +46,7 @@ FAIL __tests__/worksWithConcurrentMode.test.js 15 | }); 16 | - at Function.failing (../../packages/jest-jasmine2/build/index.js:311:17) + at concurrentFn.failing (../../packages/jest-jasmine2/build/index.js:311:17) at Suite.failing (__tests__/worksWithConcurrentMode.test.js:13:17) at Object.describe (__tests__/worksWithConcurrentMode.test.js:8:1) @@ -80,7 +80,7 @@ FAIL __tests__/worksWithConcurrentOnlyMode.test.js 15 | }); 16 | - at Function.failing (../../packages/jest-jasmine2/build/index.js:311:17) + at concurrentFn.failing (../../packages/jest-jasmine2/build/index.js:311:17) at Suite.failing (__tests__/worksWithConcurrentOnlyMode.test.js:13:22) at Object.describe (__tests__/worksWithConcurrentOnlyMode.test.js:8:1) diff --git a/e2e/__tests__/testFailingJasmine.test.ts b/e2e/__tests__/testFailingJasmine.test.ts index 5dc0a5c1f412..73109df90e0b 100644 --- a/e2e/__tests__/testFailingJasmine.test.ts +++ b/e2e/__tests__/testFailingJasmine.test.ts @@ -18,5 +18,10 @@ test('throws an error about unsupported modifier', () => { const result = runJest(dir); expect(result.exitCode).toBe(1); const {rest} = extractSortedSummary(result.stderr); - expect(rest).toMatchSnapshot(); + expect( + rest.replaceAll( + 'at Function.failing (../../packages/jest-jasmine2/', + 'at concurrentFn.failing (../../packages/jest-jasmine2/', + ), + ).toMatchSnapshot(); });