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

Tatsh / jxa-lib-examples / 25449493360
100%

Build:
DEFAULT BRANCH: master
Ran 06 May 2026 05:02PM UTC
Jobs 1
Files 6
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

06 May 2026 05:01PM UTC coverage: 100.0%. Remained the same
25449493360

push

github

Tatsh
tests: switch from Jest to Vitest, unpin TypeScript, fix CI

Replace the Jest stack (`jest`, `ts-jest`, `@types/jest`) with `vitest`
and `@vitest/coverage-v8`. Test files now import from `vitest`. Class
mocks use a `function (this: ...)` form so Vitest 4's stricter
constructor handling (`mockReturnValue` is rejected when the mock is
called with `new`) can resolve them. The `main.test.ts` global stub
setup is wrapped in `vi.hoisted(...)` so the real `jxa-lib` module can
be loaded for auto-mock introspection without tripping its top-level
`ObjC.import` calls. The `ramda/es/path` mock factory now returns
`{ default: vi.fn() }` to satisfy Vitest's default-import contract.

Drop the temporary TypeScript 5.x pin from `.wiswa.jsonnet` and the
`moduleResolution: node` override in `tsconfig`. The `Tests` workflow
runs `yarn vitest run --coverage`.

Signed-off-by: Andrew Udvare <audvare@gmail.com>

5 of 5 branches covered (100.0%)

Branch coverage included in aggregate %.

53 of 53 relevant lines covered (100.0%)

3.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25449493360.1 06 May 2026 05:02PM UTC 6
100.0
GitHub Action Run
Source Files on build 25449493360
  • Tree
  • List 6
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25449493360
  • 97a3be3b on github
  • Prev Build on master (#25302789770)
  • Next Build on master (#25460761967)
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