newrelic / newrelic-browser-agent

New Relic Browser Agent
Apache License 2.0
77 stars 40 forks source link

chore: update types tests #1084

Closed patrickhousley closed 3 months ago

patrickhousley commented 3 months ago

Please add a one-paragraph summary here, suitable for a release notes description. This will help with documentation.

Overview

Updating the tests for the API types.

Related Issue(s)

Testing

github-actions[bot] commented 3 months ago

Asset Size Report

Merging this pull request will result in the following asset size changes:

Agent Asset Previous Size New Size Diff
lite loader 34.67 kB / 12.11 kB (gzip) 34.67 kB / 12.11 kB (gzip) 0% / 0% (gzip)
lite async-chunk 50.03 kB / 16.16 kB (gzip) 50.03 kB / 16.16 kB (gzip) 0% / 0% (gzip)
pro loader 55.23 kB / 18.7 kB (gzip) 55.23 kB / 18.7 kB (gzip) 0% / 0% (gzip)
pro async-chunk 96.06 kB / 28.83 kB (gzip) 96.06 kB / 28.83 kB (gzip) 0% / 0% (gzip)
spa loader 63.17 kB / 21.13 kB (gzip) 63.17 kB / 21.13 kB (gzip) 0% / 0% (gzip)
spa async-chunk 111.17 kB / 33.2 kB (gzip) 111.17 kB / 33.2 kB (gzip) 0% / 0% (gzip)
lite-polyfills loader 128.36 kB / 41.43 kB (gzip) 128.36 kB / 41.43 kB (gzip) 0% / 0% (gzip)
lite-polyfills async-chunk 63.93 kB / 18.43 kB (gzip) 63.93 kB / 18.43 kB (gzip) 0% / 0% (gzip)
pro-polyfills loader 150.55 kB / 47.68 kB (gzip) 150.55 kB / 47.68 kB (gzip) 0% / 0% (gzip)
pro-polyfills async-chunk 116.14 kB / 31.06 kB (gzip) 116.14 kB / 31.06 kB (gzip) 0% / 0% (gzip)
spa-polyfills loader 158.75 kB / 49.83 kB (gzip) 158.75 kB / 49.83 kB (gzip) 0% / 0% (gzip)
spa-polyfills async-chunk 133.1 kB / 35.76 kB (gzip) 133.1 kB / 35.76 kB (gzip) 0% / 0% (gzip)
codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.66%. Comparing base (e6ccc1d) to head (a660d7f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1084 +/- ## ======================================= Coverage 87.66% 87.66% ======================================= Files 162 162 Lines 7245 7245 Branches 1420 1420 ======================================= Hits 6351 6351 Misses 778 778 Partials 116 116 ``` | [Flag](https://app.codecov.io/gh/newrelic/newrelic-browser-agent/pull/1084/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=newrelic) | Coverage Δ | | |---|---|---| | [unit-tests](https://app.codecov.io/gh/newrelic/newrelic-browser-agent/pull/1084/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=newrelic) | `76.43% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=newrelic#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.