Closed maximilianoertel closed 1 month ago
Status | Category | Percentage | Covered / Total |
---|---|---|---|
🔵 | Lines | 0.97% | 73 / 7504 |
🔵 | Statements | 0.89% | 74 / 8243 |
🔵 | Functions | 0.76% | 14 / 1830 |
🔵 | Branches | 0.44% | 20 / 4473 |
File | Stmts | % Branch | % Funcs | % Lines | Uncovered Lines |
---|---|---|---|---|---|
Changed Files | |||||
src/config/firebaseRoar.js | 0% | 0% | 0% | 0% | 7-9, 16-18, 20, 20, 23-82, 24-82, 43-60, 62-70, 72-81, 84-85 |
Visit the preview URL for this PR (updated for commit a9b881b):
https://roar-staging--pr792-fix-firebase-roar-co-0awxayw0.web.app
(expires Tue, 17 Sep 2024 22:24:10 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: 2631e9c58fd0104ecbfddd72a62245ddac467460
Passed #6212
•
a9b881b82a: Component Tests for PR 792 "Fix App Check `debugToken` conditional for Cypress e...
Project |
roar-dashboard-e2e
|
Branch Review |
fix/firebase-roar-config
|
Run status |
Passed #6212
|
Run duration | 01m 20s |
Commit |
a9b881b82a: Component Tests for PR 792 "Fix App Check `debugToken` conditional for Cypress e...
|
Committer | Maximilian Oertel |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
2
|
View all changes introduced in this branch ↗︎ |
Proposed changes
This PR fixes the App Check
debugToken
conditional for Cypress environment by leveragingwindow.Cypress
for the environment determination asNODE_ENV === 'test'
also evaluates to true when running unit tests, causing tests to fail:Source
Types of changes
Checklist
Justification of missing checklist items
n/a
Further comments
n/a