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

yext / analytics / 7672658682
84%

Build:
DEFAULT BRANCH: main
Ran 26 Jan 2024 07:44PM UTC
Jobs 1
Files 16
Run time 2s
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

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

Jobs
ID Job ID Ran Files Coverage
1 7672658682.1 26 Jan 2024 07:44PM UTC 16
88.55
GitHub Action Run
Source Files on build 7672658682
  • 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 Repo
  • e5bd3d6b on github
  • Prev Build on main (#7672657222)
  • Next Build on main (#7673364568)
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

© 2025 Coveralls, Inc