File tree Expand file tree Collapse file tree
packages/app/src/cli/services/build/steps/include-assets Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ describe('copyConfigKeyEntry', () => {
6161 // Given
6262 const context = makeContext ( { schema_path : 'src/schema.json' } )
6363 // Source file exists; output path is free so findUniqueDestPath resolves on first attempt
64- vi . mocked ( fs . fileExists ) . mockImplementation ( async ( p ) => String ( p ) === '/ext/src/schema.json' )
64+ vi . mocked ( fs . fileExists ) . mockImplementation ( async ( path ) => String ( path ) === '/ext/src/schema.json' )
6565 vi . mocked ( fs . isDirectory ) . mockResolvedValue ( false )
6666 vi . mocked ( fs . mkdir ) . mockResolvedValue ( )
6767 vi . mocked ( fs . copyFile ) . mockResolvedValue ( )
@@ -166,7 +166,7 @@ describe('copyConfigKeyEntry', () => {
166166 ] ,
167167 } )
168168 // Source files exist; output paths are free so findUniqueDestPath resolves on first attempt
169- vi . mocked ( fs . fileExists ) . mockImplementation ( async ( p ) => String ( p ) . startsWith ( '/ext/' ) )
169+ vi . mocked ( fs . fileExists ) . mockImplementation ( async ( path ) => String ( path ) . startsWith ( '/ext/' ) )
170170 vi . mocked ( fs . isDirectory ) . mockResolvedValue ( false )
171171 vi . mocked ( fs . mkdir ) . mockResolvedValue ( )
172172 vi . mocked ( fs . copyFile ) . mockResolvedValue ( )
You can’t perform that action at this time.
0 commit comments