@@ -76,7 +76,7 @@ export async function runC3ForFrameworkTest(
7676
7777 const match = output . replaceAll ( "\n" , "" ) . match ( deployedUrlRe ) ;
7878 if ( ! match || ! match [ 1 ] ) {
79- // eslint-disable-next-line no-console
79+ // eslint-disable-next-line no-console -- we dump raw C3 output for tests debugging
8080 console . error ( output ) ;
8181 expect ( false , "Couldn't find deployment url in C3 output" ) . toBe ( true ) ;
8282 return "" ;
@@ -87,8 +87,7 @@ export async function runC3ForFrameworkTest(
8787
8888export function updateWranglerConfig (
8989 projectPath : string ,
90- // eslint-disable-next-line @typescript-eslint/no-explicit-any
91- handleUpdate : < T extends Record < string , any > > ( config : T ) => T
90+ handleUpdate : < T extends Record < string , unknown > > ( config : T ) => T
9291) {
9392 const wranglerTomlPath = join ( projectPath , "wrangler.toml" ) ;
9493 const wranglerJsoncPath = join ( projectPath , "wrangler.jsonc" ) ;
@@ -131,7 +130,7 @@ export async function addTestVarsToWranglerToml(projectPath: string) {
131130 return {
132131 ...config ,
133132 vars : {
134- ...config . vars ,
133+ ...( config . vars as Record < string , unknown > ) ,
135134 TEST : "C3_TEST" ,
136135 } ,
137136 } ;
@@ -223,7 +222,7 @@ export async function verifyDevScript(
223222 restoreConfig = updateWranglerConfig ( projectPath , ( config ) => ( {
224223 ...config ,
225224 vars : {
226- ...config . vars ,
225+ ...( config . vars as Record < string , unknown > ) ,
227226 ...updatedVars ,
228227 } ,
229228 } ) ) ;
0 commit comments