Skip to content

Commit 46d6edb

Browse files
TO_DELETE: add logs to debug windows failure in CI
1 parent a061a10 commit 46d6edb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/vite-plugin-cloudflare/e2e/helpers.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,11 @@ export async function fetchJson(url: string, info?: RequestInit) {
279279
/** Wait until a `vite dev` process is ready and capture the url on which it is listening. */
280280
export async function waitForReady(proc: Process) {
281281
const match = await vi.waitUntil(
282-
() => proc.stdout.match(/Local:\s+(http:\/\/localhost:\d+)/),
282+
() => {
283+
console.log(`===proc.stdout\n\n\n\n\n${proc.stdout}\n\n\n\n\n`);
284+
console.log(`===proc.stderr\n\n\n\n\n${proc.stderr}\n\n\n\n\n`);
285+
return proc.stdout.match(/Local:\s+(http:\/\/localhost:\d+)/);
286+
},
283287
{ interval: 100, timeout: 20_000 }
284288
);
285289
return match[1];

packages/vite-plugin-cloudflare/e2e/remote-bindings.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ if (!process.env.CLOUDFLARE_ACCOUNT_ID || !process.env.CLOUDFLARE_API_TOKEN) {
139139
});
140140
}
141141

142-
describe("remote bindings disabled", () => {
142+
describe.only("remote bindings disabled", () => {
143143
const projectPath = seed("remote-bindings-disabled", "pnpm");
144144

145145
describe.each(commands)('with "%s" command', (command) => {

0 commit comments

Comments
 (0)