File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,19 +132,10 @@ describe.sequential.each([
132132 const sha = payload . workflow_run . head_sha . substring ( 0 , 7 ) ;
133133 const ref = pr ?. payload . number ?? payload . workflow_run . head_branch ;
134134
135- console . log ( `Attempting to fetch: /${ owner } /${ repo } /playground-a@${ sha } ` ) ;
136-
135+ // Test download with SHA
137136 const shaResponse = await worker . fetch (
138137 `/${ owner } /${ repo } /playground-a@${ sha } ` ,
139138 ) ;
140- console . log ( `Response status: ${ shaResponse . status } ` ) ;
141-
142- if ( shaResponse . status !== 200 ) {
143- console . log ( `Response headers:` , Object . fromEntries ( shaResponse . headers . entries ( ) ) ) ;
144- const text = await shaResponse . clone ( ) . text ( ) ;
145- console . log ( `Response body:` , text . substring ( 0 , 500 ) ) ;
146- }
147-
148139 expect ( shaResponse . status ) . toBe ( 200 ) ;
149140 const shaBlob = await shaResponse . blob ( ) ;
150141 expect ( shaBlob . size ) . toBeGreaterThan ( 0 ) ;
Original file line number Diff line number Diff line change 99 "vendor:octokit" : " tsx script/octokit.ts" ,
1010 "prepare" : " nuxi prepare && pnpm vendor:octokit" ,
1111 "test" : " vitest run" ,
12+ "test:e2e" : " cross-env TEST=true nuxi build && cross-env TEST=true vitest run --update" ,
1213 "start" : " node .output/server/index.mjs" ,
1314 "start:generate" : " npx serve .output/public" ,
1415 "lint" : " eslint ." ,
You can’t perform that action at this time.
0 commit comments