@@ -20,7 +20,7 @@ describe("build commands", () => {
2020 } ) ;
2121
2222 it ( "expects all output bundle files to be generated" , async ( ) => {
23- const { generateOutputBundle } = await importUtils ;
23+ const { generateOutputDirectory } = await importUtils ;
2424 const files = {
2525 ".next/standalone/standalonefile" : "" ,
2626 ".next/static/staticfile" : "" ,
@@ -31,7 +31,7 @@ describe("build commands", () => {
3131 }` ,
3232 } ;
3333 generateTestFiles ( tmpDir , files ) ;
34- await generateOutputBundle ( tmpDir , outputBundleOptions , path . join ( tmpDir , ".next" ) ) ;
34+ await generateOutputDirectory ( tmpDir , outputBundleOptions , path . join ( tmpDir , ".next" ) ) ;
3535
3636 const expectedFiles = {
3737 ".apphosting/.next/static/staticfile" : "" ,
@@ -50,7 +50,7 @@ staticAssets:
5050 } ) ;
5151
5252 it ( "expects public directory to be copied over" , async ( ) => {
53- const { generateOutputBundle } = await importUtils ;
53+ const { generateOutputDirectory } = await importUtils ;
5454 const files = {
5555 ".next/standalone/standalonefile" : "" ,
5656 ".next/static/staticfile" : "" ,
@@ -62,7 +62,7 @@ staticAssets:
6262 }` ,
6363 } ;
6464 generateTestFiles ( tmpDir , files ) ;
65- await generateOutputBundle ( tmpDir , outputBundleOptions , path . join ( tmpDir , ".next" ) ) ;
65+ await generateOutputDirectory ( tmpDir , outputBundleOptions , path . join ( tmpDir , ".next" ) ) ;
6666
6767 const expectedFiles = {
6868 ".apphosting/.next/static/staticfile" : "" ,
@@ -82,7 +82,7 @@ staticAssets:
8282 } ) ;
8383
8484 it ( "expects bundle.yaml headers/rewrites/redirects to be generated" , async ( ) => {
85- const { generateOutputBundle } = await importUtils ;
85+ const { generateOutputDirectory } = await importUtils ;
8686 const files = {
8787 ".next/standalone/standalonefile" : "" ,
8888 ".next/static/staticfile" : "" ,
@@ -93,7 +93,7 @@ staticAssets:
9393 }` ,
9494 } ;
9595 generateTestFiles ( tmpDir , files ) ;
96- await generateOutputBundle ( tmpDir , outputBundleOptions , path . join ( tmpDir , ".next" ) ) ;
96+ await generateOutputDirectory ( tmpDir , outputBundleOptions , path . join ( tmpDir , ".next" ) ) ;
9797
9898 const expectedFiles = {
9999 ".apphosting/.next/static/staticfile" : "" ,
0 commit comments