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

Khan / perseus / 5743663332
69%
main: 69%

Build:
Build:
LAST BUILD BRANCH: LC-1092
DEFAULT BRANCH: main
Ran 02 Aug 2023 08:52PM UTC
Jobs 2
Files 526
Run time 11s
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

pending completion
5743663332

push

github

web-flow
Rework args to trackInteraction so it works when we generate Flow types for it (#625)

## Summary:

I've been working to get a proper type for the `trackInteraction` `APIOption`. I've migrated the `InteractionTracker` to be generic so that it only accepts extra arguments defined by the `WidgetProps<T,T,T>` (this means each widget can call `trackInteraction` with args it defines). 

In the `APIOptions` the `trackInteraction` callback now defines a union of all extra args that all widgets provide.

Issue: "none"

## Test plan:

Build, build flow types, and then test it in webapp.

Author: jeremywiebe

Reviewers: jeremywiebe, nedredmond, handeyeco, kevinbarabash, SonicScrewdriver

Required Reviewers:

Approved By: handeyeco

Checks: ✅ finish_coverage, ✅ Publish npm snapshot (ubuntu-latest, 16.x), ✅ Check builds for changes in size (ubuntu-latest, 16.x), ✅ Extract i18n strings (ubuntu-latest, 16.x), ✅ Cypress Coverage (ubuntu-latest, 16.x), ✅ Lint, Typecheck, and Test (ubuntu-latest, 16.x), ✅ Jest Coverage (ubuntu-latest, 16.x), ✅ Check for .changeset file (ubuntu-latest, 16.x), ✅ gerald

Pull Request URL: https://github.com/Khan/perseus/pull/625

7563 of 16372 branches covered (46.19%)

Branch coverage included in aggregate %.

25 of 61 new or added lines in 5 files covered. (40.98%)

69971 of 96115 relevant lines covered (72.8%)

716.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
36
0.0
0.0% packages/perseus/src/types.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
1 jest 5743663332.1 02 Aug 2023 08:59PM UTC 521
62.59
GitHub Action Run
2 cypress 5743663332.2 02 Aug 2023 08:52PM UTC 365
26.37
GitHub Action Run
Source Files on build 5743663332
  • Tree
  • List 526
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 2c69b0dc on github
  • Prev Build on feature/analytics (#5743493389)
  • Next Build on feature/analytics (#5930219368)
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