Skip to content

Commit 3a4b527

Browse files
committed
refactor: wip
1 parent 3411e7b commit 3a4b527

1 file changed

Lines changed: 9 additions & 16 deletions

File tree

e2e/plugin-knip-e2e/tests/reporter.e2e.test.ts

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,18 @@ import {
1212
import { executeProcess, readJsonFile } from '@code-pushup/utils';
1313

1414
describe('knip reporter', () => {
15-
const envDir = path.join(
16-
E2E_ENVIRONMENTS_DIR,
17-
nxTargetProject(),
18-
);
19-
const testFileDir = path.join(
20-
envDir,
21-
TEST_OUTPUT_DIR,
22-
'reporter',
23-
);
15+
const envDir = path.join(E2E_ENVIRONMENTS_DIR, nxTargetProject());
16+
const testFileDir = path.join(envDir, TEST_OUTPUT_DIR, 'reporter');
2417
const reporterSetupDir = path.join(testFileDir, 'reporter-setup');
2518
const fixturesDir = path.join('e2e', nxTargetProject(), 'mocks/fixtures');
2619
const reporterPath = path.join(
27-
envDir,
28-
'node_modules',
29-
'@code-pushup',
30-
'plugin-knip',
31-
'src',
32-
'lib',
33-
'reporter.js',
20+
envDir,
21+
'node_modules',
22+
'@code-pushup',
23+
'plugin-knip',
24+
'src',
25+
'lib',
26+
'reporter.js',
3427
);
3528
beforeAll(async () => {
3629
await cp(fixturesDir, testFileDir, { recursive: true });

0 commit comments

Comments
 (0)