Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions __tests__/e2e.test.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
import { tmpdir } from 'node:os';
import { beforeAll, expect, test } from '@jest/globals';
import { execa } from 'execa';
import pMap from 'p-map';

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

beforeAll(
async () => {
Expand Down