You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.error
Error: Not implemented: navigation (except hash changes)
...
console.error
Warning: You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);
We should use async/await correctly and mock location.reload to get rid of them which will make reading tests output easier.
# What this PR does
Cleanup error logs on frontend unit test run
## Which issue(s) this PR closes
Closes#3428
## Checklist
- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
show up in the autogenerated release notes.
What went wrong?
We have a lot of error logs like those:
We should use async/await correctly and mock
location.reload
to get rid of them which will make reading tests output easier.How do we reproduce it?
Grafana OnCall Version
1.3.59
Product Area
Other
Grafana OnCall Platform?
None
User's Browser?
No response
Anything else to add?
No response
The text was updated successfully, but these errors were encountered: