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

Khan / perseus / 5405764178 / 2 – cypress
69%
main: 69%

Build:
DEFAULT BRANCH: main
Ran 28 Jun 2023 09:05PM UTC
Files 360
Run time 6s
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

28 Jun 2023 08:58PM UTC coverage: 26.402% (+0.01%) from 26.392%
cypress – 5405764178.2

push

github

web-flow
Convert CursorContext TS enum to POJO (#593)

## Summary:
While flowgen is capable of converting TS enums to the appropriate POJO, it doesn't know how to update the uses of the enum.  It'll be difficult to update the tool to do this properly because it currently only converts a file at a time without looking at other files, but it would need to find the definition of the enum to know whether it has to do extra work to convert the usage properly.

TODO: Convert any other enums that are causing issues.

Issue: None

## Test plan:
- yarn build:types
- yarn build:flowtypes
- check that the generated flow types work as expected in the [flow playground](https://flow.org/try/#1N4Igxg9gdgZglgcxALlAJwKYEMwBcD6aArlLnALYYrgA2WAzvXGCADQgYAeOBARgJ74AJhhhYiNXClzEM7DFCLl602e0hQhcMtCw18ufgAcqyMTXpyQ5LEZNCDx0+cvzOJtBQW49AOkMm+AhEWGhCKmZ6lgC+6hAi1AD0AFQABAACMDQQAO6pyYkAOlDFImB0mKlcRhBouKkAbqGpAMJEaPS1LdC4XLjIqcAAPsWpqQDUAHIA8pMAogOFIDPzS6yjEwCSk-gACgCCAEpzkwDKiyDbe0cnp2sb41enAKq7c4f4py2Hm7sAKhcnq93p9vr8-vcoGNHjsXgAhUE-f6A2HPBFfJEQtgPK6TZ4AWXe+z+00OKPweMJh2JpMh0KuABETtN8dsaWTUktGczWZN2XSJnC5gAxUlzfDC6ktP6bWYXIWi44SqUy2aQobRADcxWKAQwqWFEAgqQAvKkACRzGgYSikP5OAA8Gz1EBgrXanTQ3VIfXWUItAGkMPx6A6XW62h0uj0+gA+Yqx7UlZM6qDW+owI0ARgGhuNZqWKzmSyT6dSmYgACZc0bTZzltAMCXimwQA0MB04NBqA0AAy+StZ-tZkDRIA)

<img width="468" alt="Screen Shot 2023-06-28 at 3 43 03 PM" src="https://github.com/Khan/perseus/assets/1044413/834de7a2-93ea-4980-86b0-cd76c33ea4e6">

Author: kevinbarabash

Reviewers: jeremywiebe

Required Reviewers:

Approved By: jeremywiebe

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

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

1927 of 9589 branches covered (20.1%)

Branch coverage included in aggregate %.

5511 of 18583 relevant lines covered (29.66%)

937.4 hits per line

Source Files on job cypress - 5405764178.2
  • Tree
  • List 0
  • Changed 18
  • Source Changed 0
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 5405764178
  • fa735526 on github
  • Prev Job for on main (#5403272625.1)
  • Next Job for on main (#5412947485.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