bugsnag / bugsnag-js-performance

Monitor the performance of your JavaScript (web and React Native) and see the results in your BugSnag dashboard.
https://docs.bugsnag.com/performance/integration-guides
MIT License
4 stars 1 forks source link

test(react-native): clear retry queue between scenarios #466

Closed yousif-bugsnag closed 2 weeks ago

yousif-bugsnag commented 2 weeks ago

Goal

Ensure the test fixture clears the file-based retry queue between scenarios.

This was causing a test flake in the retry test where stored traces that failed to send from previous scenarios were sometimes being sent in the next scenario, presumably because the app was being restarted before the files could be deleted

Testing

covered by CI

github-actions[bot] commented 2 weeks ago

Browser bundle size

NPM build

Package
Before 188.88 kB
After 188.88 kB
± No change

CDN build

Unminified Minfied Minified + gzipped
Before 94.81 kB 35.55 kB 10.77 kB
After 94.81 kB 35.55 kB 10.77 kB
± No change No change No change

Code coverage

Coverage values did not change👌.

Total:

Lines Branches Functions Statements
87.22%(+0%) 78.89%(+0%) 87.99%(+0%) 84.03%(+0%)

Generated against 71114273af15ec248c37c3e5e469b8731e060b41 on 21 June 2024 at 15:35:34 UTC