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

[PLAT-11474] React navigation end to end tests #395

Closed gingerbenw closed 5 months ago

gingerbenw commented 5 months ago

Goal

Add tests for navigation spans when using @react-navigation/native

Changeset

Add react navigation fixture with environment specific fixture generation Add end to end test for navigation event

github-actions[bot] commented 5 months ago

Browser bundle size

NPM build

Package
Before 178.36 kB
After 178.36 kB
± No change

CDN build

Unminified Minfied Minified + gzipped
Before 85.74 kB 32.30 kB 9.90 kB
After 85.74 kB 32.30 kB 9.90 kB
± No change No change No change

Code coverage

Ok File (✨=New File) Lines Branches Functions Statements
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/id-generator.ts 88.88%
(-11.12%)
0%
(-100%)
100%
(+0%)
88.88%
(-11.12%)
/home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/id-generator.ts 100%
(+10%)
100%
(+0%)
100%
(+0%)
100%
(+10%)

Total:

Lines Branches Functions Statements
91.45%(+0%) 79.92%(-0.19%) 91.89%(+0%) 88.94%(+0%)

Generated against 38a2536859723067ce1198be210b630a3703ed6f on 31 January 2024 at 14:29:07 UTC