File tree Expand file tree Collapse file tree
e2e/plugin-knip-e2e/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,25 +12,18 @@ import {
1212import { executeProcess , readJsonFile } from '@code-pushup/utils' ;
1313
1414describe ( '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 } ) ;
You can’t perform that action at this time.
0 commit comments