Skip to content

Commit 7b7d78b

Browse files
authored
Remove Windows long path workaround (#572)
1 parent 9f4d723 commit 7b7d78b

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

__tests__/e2e.test.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
1-
import { tmpdir } from 'node:os';
21
import { beforeAll, expect, test } from '@jest/globals';
32
import { execa } from 'execa';
43
import pMap from 'p-map';
54

6-
const fixturesTempDir = process.env.GITHUB_ACTIONS
7-
? // Switch to `tmpdir()` on GitHub Actions to avoid
8-
// ESLint crashing with Windows paths over the 260 character
9-
// MAX_PATH limit
10-
// https://github.com/upleveled/preflight/pull/469/#issuecomment-1812422819
11-
// https://github.com/eslint/eslint/issues/17763
12-
// https://github.com/nodejs/node/issues/50753
13-
tmpdir()
14-
: '__tests__/fixtures/__temp';
5+
const fixturesTempDir = '__tests__/fixtures/__temp';
156

167
beforeAll(
178
async () => {

0 commit comments

Comments
 (0)