File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/@apphosting/adapter-nextjs/e2e Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -40,14 +40,18 @@ describe("next.config override", () => {
4040 scenario . includes ( "with-images-unoptimized-false" ) ||
4141 scenario . includes ( "with-custom-image-loader" )
4242 ) {
43+ // eslint-disable-next-line @typescript-eslint/no-invalid-this
4344 this . skip ( ) ;
4445 }
4546 const files = await fsExtra . readdir ( appPath ) ;
4647 const configRegex = / ^ n e x t \. c o n f i g \. .* $ / g;
4748 const configOriginalRegex = / ^ n e x t \. c o n f i g \. (? ! o r i g i n a l ) .* $ / g;
4849 const configFiles = files . filter ( ( file ) => file . match ( configRegex ) ) ;
4950 assert . strictEqual ( configFiles . length , 1 ) ;
50- assert . ok ( configFiles [ 0 ] . match ( configOriginalRegex ) , "found original config file in root" ) ;
51+ assert . ok (
52+ configFiles [ 0 ] . match ( configOriginalRegex ) ,
53+ "temporary original config not properly removed" ,
54+ ) ;
5155
5256 const standaloneFiles = await fsExtra . readdir ( standalonePath ) ;
5357 const standaloneConfigFiles = standaloneFiles . filter ( ( file ) => file . match ( configRegex ) ) ;
You can’t perform that action at this time.
0 commit comments