CesiumGS / CesiumGS/cesium

Test errors when running `npm run test` on latest main branch

Open
#12,970 9 comments 0 reactions 0 assignees View on GitHub
test failure type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

### What happened?

After pulling the latest `main` branch and performing a clean build, several test cases fail during npm run test. **Some tests throw errors or fail unexpectedly.**

I verified that my Cesium ion access token is valid, so the issue does not appear to be related to authentication.

### Reproduction steps

1. `npm run clean -dtx` and `git clean -dxf`
2. `npm install` and `npm run build`
3. `npm run test`
...

### Sandcastle example

_No response_

### Environment

Browser: `Chrome 141.0.7390.67`
CesiumJS Version: `1.134.0`
Operating System:

`OS Name: Microsoft Windows 11 Enterprise`

`OS Version: 10.0.26100 N/A Build 26100`

Contributor guide

Open the contributing guide

Research direction

Reproduce the report on the latest main branch using npm run clean -dtx, git clean -dxf, npm install, npm run build, and npm run test. Inspect the resulting test errors and failures to identify their causes; done means the affected tests pass after a clean build without relying on authentication changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.