Skip to content

Commit bd00527

Browse files
committed
fix test
1 parent b8f9cd1 commit bd00527

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/cli/test/unit/lib/run/log-displayer.unit.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ describe('logDisplayer', function () {
4242
this.url = url
4343
this.errorCode = 401
4444

45+
// Determine behavior based on URL
46+
if (url.includes('telemetry.heroku.com')) {
47+
// For Fir apps (telemetry URLs), return 500 error
48+
this.errorCode = 500
49+
}
50+
4551
// Simulate connection attempt
4652
setTimeout(() => {
4753
if (this.onerror) {

0 commit comments

Comments
 (0)