File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ describe(`declarations-configuration`, () => {
2121 await helper . setup ( ) ;
2222 await helper . installDeps ( ) ;
2323
24- declarationsDir = path . join ( helper . addonFolder , 'declarations' ) ;
24+ declarationsDir = path . join ( helper . projectRoot , 'declarations' ) ;
2525 } ) ;
2626
2727 afterAll ( async ( ) => {
@@ -30,9 +30,9 @@ describe(`declarations-configuration`, () => {
3030
3131 describe ( 'rootDir' , ( ) => {
3232 it ( 'there are no top-level files, only nested in folders' , async ( ) => {
33- await fse . rm ( path . join ( helper . addonFolder , 'src' ) , { recursive : true } ) ;
34- await fse . mkdirp ( path . join ( helper . addonFolder , 'src/components' ) ) ;
35- await fs . writeFile ( path . join ( helper . addonFolder , 'src/components/example.ts' ) , '/* empty file */' ) ;
33+ await fse . rm ( path . join ( helper . projectRoot , 'src' ) , { recursive : true } ) ;
34+ await fse . mkdirp ( path . join ( helper . projectRoot , 'src/components' ) ) ;
35+ await fs . writeFile ( path . join ( helper . projectRoot , 'src/components/example.ts' ) , '/* empty file */' ) ;
3636
3737 let buildResult = await helper . build ( ) ;
3838
You can’t perform that action at this time.
0 commit comments