Skip to content

Commit 6564760

Browse files
author
John Doe
committed
refactor: use restoreNxIgnoredFiles
1 parent 5b79643 commit 6564760

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

e2e/ci-e2e/mocks/setup.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ import { simpleGit } from 'simple-git';
55
import { nxTargetProject } from '@code-pushup/test-nx-utils';
66
import {
77
E2E_ENVIRONMENTS_DIR,
8-
NX_IGNORED_FILES_TO_RESTORE,
98
TEST_OUTPUT_DIR,
109
initGitRepo,
11-
restoreRenamedFiles,
10+
restoreNxIgnoredFiles,
1211
simulateGitFetch,
1312
teardownTestFolder,
1413
} from '@code-pushup/test-utils';
@@ -30,7 +29,7 @@ export async function setupTestRepo(folder: string) {
3029
);
3130

3231
await cp(fixturesDir, baseDir, { recursive: true });
33-
await restoreRenamedFiles(baseDir, NX_IGNORED_FILES_TO_RESTORE);
32+
await restoreNxIgnoredFiles(baseDir);
3433

3534
const git = await initGitRepo(simpleGit, { baseDir });
3635
await simulateGitFetch(git);

0 commit comments

Comments
 (0)