File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
packages/@apphosting/adapter-nextjs/src/bin Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ describe("build commands", () => {
3232 it ( "expects all output bundle files to be generated" , async ( ) => {
3333 const { generateBuildOutput, validateOutputDirectory } = await importUtils ;
3434 const files = {
35+ // .next/standalone/.next/ must be created beforehand otherwise
36+ // generateBuildOutput will attempt to copy
37+ // .next/ into .next/standalone/.next
38+ ".next/standalone/.next/package.json" : "" ,
3539 ".next/standalone/server.js" : "" ,
3640 ".next/static/staticfile" : "" ,
3741 ".next/routes-manifest.json" : `{
@@ -53,7 +57,13 @@ describe("build commands", () => {
5357
5458 const expectedFiles = {
5559 ".next/standalone/.next/static/staticfile" : "" ,
60+ ".next/static/staticfile" : "" ,
5661 ".next/standalone/server.js" : "" ,
62+ ".next/routes-manifest.json" : `{
63+ "headers":[],
64+ "rewrites":[],
65+ "redirects":[]
66+ }` ,
5767 ".apphosting/bundle.yaml" : `version: v1
5868runConfig:
5969 runCommand: node .next/standalone/server.js
You can’t perform that action at this time.
0 commit comments