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

mweststrate / immer / #1088
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: github-actions-ci
DEFAULT BRANCH: master
Ran 29 Sep 2026 09:21PM UTC
Jobs 1
Files 17
Run time 1min
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

17 Mar 2021 03:31PM UTC coverage: 98.506% (+0.02%) from 98.484%
#1088

push

web-flow
fix: Add a type-checking fast path for primitive types (#755)

When `Draft<T>` is applied to a large enum type, TypeScript has to do a
lot of unnecessary structural comparisons to confirm that no element of
the enum matches `Function`, `Date`, `RegExp`, etc.  Determining that
they do match `string` or `number`, on the other hand, is trivial.  This
change splits `PrimitiveType` out of `AtomicObject` so that the fast
path can be checked first.

In https://github.com/microsoft/TypeScript/issues/42824, this cut the
check time from ~2.5 seconds to ~0.3 seconds.

546 of 558 branches covered (97.85%)

Branch coverage included in aggregate %.

773 of 781 relevant lines covered (98.98%)

1090.49 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
73.91
0.0% src/utils/errors.ts
1
98.76
0.13% src/plugins/patches.ts
Jobs
ID Job ID Ran Files Coverage
1 #1088.1 29 Sep 2026 09:21PM UTC 17
98.51
Source Files on build #1088
  • Tree
  • List 17
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • d395efeb on github
  • Prev Build on
  • Next Build on
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc