CesiumGS / CesiumGS/cesium

Replace karma; Update `jasmine-core`

Open
#11,295 4 comments 0 reactions 0 assignees View on GitHub
category - packaging & tooling dependencies priority - high
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

We use karma for running our jasmine unit tests via the command line, particularly for CI. Recently, [karma has been deprecated](https://github.com/karma-runner/karma#karma-is-deprecated-and-is-not-accepting-new-features-or-general-bug-fixes).

We'll need to find a replacement workflow. Karma's docs suggest:

> Both [Web Test Runner](https://modern-web.dev/docs/test-runner/overview/) and [jasmine-browser-runner](https://github.com/jasmine/jasmine-browser-runner) provide browser-based unit testing solutions which can be used as a direct alternative. [Jest](https://jestjs.io/) and [Vitest](https://vitest.dev/) also provide Node-based alternatives.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing Karma's deprecation notice and comparing the listed alternatives: Web Test Runner, jasmine-browser-runner, Jest, and Vitest. Done means the Jasmine unit tests run from the command line and in CI without Karma, with jasmine-core updated as needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, ci-cd, testing-qa
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.