Skip to content

Tests: Consolidate TSL unit tests - #34918

Merged
Mugen87 merged 3 commits into
mrdoob:devfrom
bhouston:consolidate-tsl-unit-tests
Oct 9, 2026
Merged

Mugen87 merged 3 commits into
mrdoob:devfrom
bhouston:consolidate-tsl-unit-tests

Conversation

@bhouston

@bhouston bhouston commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Description

The TSL GPU unit tests were in test/unit/addons/tsl/, but they test core TSL from three/tsl and three/webgpu, not addons. This PR moves them to test/unit/src/nodes/tsl/ next to TSLCore.tests.js, loads them from three.source.unit.js, and groups them under Nodes > TSL like the other source tests. It also fixes the existing lint errors in these files, in a separate commit. UnitTests.html now maps three/webgpu and three/tsl, so npm run test-unit needs WebGPU like the addons page already did; WebGLNodesHandler.tests.js tests an actual addon and stays in test/unit/addons/tsl/.

@Mugen87 Mugen87 added this to the r187 milestone Oct 9, 2026
@Mugen87
Mugen87 merged commit 8d486d4 into mrdoob:dev Oct 9, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants