@@ -55,7 +55,6 @@ describe("localBuild", () => {
5555 const expectedAnnotations = {
5656 language : "nodejs" ,
5757 runtime : "nodejs22" ,
58- framework : "nextjs" ,
5958 } ;
6059 const expectedOutputFiles = [ ".next/standalone" ] ;
6160 const expectedBuildConfig = {
@@ -70,11 +69,7 @@ describe("localBuild", () => {
7069 stderr : "mock stderr" ,
7170 signal : null ,
7271 } ) ;
73- const { outputFiles, annotations, buildConfig } = await localBuild (
74- "test-project" ,
75- "./" ,
76- "nextjs" ,
77- ) ;
72+ const { outputFiles, annotations, buildConfig } = await localBuild ( "test-project" , "./" ) ;
7873 expect ( annotations ) . to . deep . equal ( expectedAnnotations ) ;
7974 expect ( buildConfig ) . to . deep . equal ( expectedBuildConfig ) ;
8075 expect ( outputFiles ) . to . deep . equal ( expectedOutputFiles ) ;
@@ -103,7 +98,7 @@ describe("localBuild", () => {
10398 MY_PLAIN_VAR : { value : "plain-value" } ,
10499 } ;
105100
106- await localBuild ( "test-project" , "./" , "nextjs" , envMap , {
101+ await localBuild ( "test-project" , "./" , envMap , {
107102 nonInteractive : true ,
108103 allowLocalBuildSecrets : true ,
109104 } ) ;
@@ -136,7 +131,7 @@ describe("localBuild", () => {
136131 ANOTHER_VAR : { value : "another-value" } ,
137132 } ;
138133
139- await localBuild ( "test-project" , "./" , "nextjs" , envMap ) ;
134+ await localBuild ( "test-project" , "./" , envMap ) ;
140135
141136 expect ( loadSecretStub ) . to . not . have . been . called ;
142137 // We expect the original process.env to not have these injected globally after run completes,
@@ -158,7 +153,7 @@ describe("localBuild", () => {
158153 } ;
159154
160155 await expect (
161- localBuild ( "test-project" , "./" , "nextjs" , envMap , { nonInteractive : true } ) ,
156+ localBuild ( "test-project" , "./" , envMap , { nonInteractive : true } ) ,
162157 ) . to . be . rejectedWith (
163158 "Using build-available secrets during a local build in non-interactive mode requires the --allow-local-build-secrets flag." ,
164159 ) ;
@@ -179,7 +174,7 @@ describe("localBuild", () => {
179174 MY_BUILD_SECRET : { secret : "my-secret-id" , availability : [ "BUILD" ] } ,
180175 } ;
181176
182- await localBuild ( "test-project" , "./" , "nextjs" , envMap , {
177+ await localBuild ( "test-project" , "./" , envMap , {
183178 nonInteractive : true ,
184179 allowLocalBuildSecrets : true ,
185180 } ) ;
@@ -195,7 +190,7 @@ describe("localBuild", () => {
195190 } ;
196191
197192 await expect (
198- localBuild ( "test-project" , "./" , "nextjs" , envMap , { nonInteractive : false } ) ,
193+ localBuild ( "test-project" , "./" , envMap , { nonInteractive : false } ) ,
199194 ) . to . be . rejectedWith ( "Cancelled local build due to BUILD-available secrets." ) ;
200195 expect ( confirmStub ) . to . have . been . calledOnce ;
201196 } ) ;
@@ -216,7 +211,7 @@ describe("localBuild", () => {
216211 MY_BUILD_SECRET : { secret : "my-secret-id" , availability : [ "BUILD" ] } ,
217212 } ;
218213
219- await localBuild ( "test-project" , "./" , "nextjs" , envMap , { nonInteractive : false } ) ;
214+ await localBuild ( "test-project" , "./" , envMap , { nonInteractive : false } ) ;
220215 expect ( confirmStub ) . to . have . been . calledOnce ;
221216 } ) ;
222217 } ) ;
@@ -232,13 +227,12 @@ describe("localBuild", () => {
232227 signal : null ,
233228 } ) ;
234229
235- const output = await runUniversalMaker ( "./" , "nextjs" ) ;
230+ const output = await runUniversalMaker ( "./" ) ;
236231
237232 expect ( output ) . to . deep . equal ( {
238233 metadata : {
239234 language : "nodejs" ,
240235 runtime : "nodejs22" ,
241- framework : "nextjs" ,
242236 } ,
243237 runConfig : {
244238 runCommand : "npm run start" ,
0 commit comments