• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yext / analytics / 7672658682 / 1
84%
main: 84%

Build:
DEFAULT BRANCH: main
Ran 26 Jan 2024 07:44PM UTC
Files 16
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jan 2024 07:43PM UTC coverage: 88.554% (-0.1%) from 88.69%
7672658682.1

push

github

web-flow
EventsSDK: Revise Authorization in AnalyticsConfig (#124)

Previously we had to fields in AnalyticsConfig that we're optional,
`key` and `bearer`, where we throw an error if none or both are set.
This change updates the interface so it is more clear that only one is
required. There is now `authorizationType` which is either a string
`apiKey` or `Bearer` and `authorization` which is the token itself. We
need `authorizationType` so we can append the proper prefix of `KEY ` or
`Bearer ` to the final authorization property to avoid passing this work
onto the user. This also updates necessary test files to reflect this
change, and removes logic for ensuring that only one of key or bearer is
set.

[J=FUS-6201](https://yexttest.atlassian.net/browse/FUS-6201)
R=abenno, mtian, mkilpatrick
TEST=auto

---------

Co-authored-by: Ethan Jaffee <ejaffee@yext.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>

71 of 78 branches covered (0.0%)

Branch coverage included in aggregate %.

76 of 88 relevant lines covered (86.36%)

8.67 hits per line

Source Files on job 7672658682.1
  • Tree
  • List 16
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 7672658682
  • e5bd3d6b on github
  • Prev Job for on main (#7672657222.1)
  • Next Job for on main (#7673364568.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc