Skip to content

Commit e1ee479

Browse files
committed
debug(e2e): log resolved path and file existence in e2e server
1 parent d45a060 commit e1ee479

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Example/e2etest/scripts/local-e2e-server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ const server = Bun.serve({
135135

136136
if (url.pathname.startsWith('/artifacts/')) {
137137
const filePath = safeResolve(url.pathname);
138+
console.log(`[server] ${url.pathname} -> ${filePath}, exists: ${filePath ? fs.existsSync(filePath) : 'null'}`);
138139
if (
139140
!filePath ||
140141
!fs.existsSync(filePath) ||

0 commit comments

Comments
 (0)