Skip to content

Commit af67d7e

Browse files
committed
Revert "add logs"
1 parent aad7668 commit af67d7e

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

packages/app/e2e.test.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff 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);

packages/app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
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 .",

0 commit comments

Comments
 (0)