Skip to content
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
9109505
RFC: Migrate from tape to vitest
chrisgervang Jan 27, 2026
659c49f
RFC: Add multi-environment architecture and expanded implementation plan
chrisgervang Jan 27, 2026
ee46a47
RFC: Add @deck.gl/test-utils deprecation timeline
chrisgervang Jan 27, 2026
04b8519
chore(test): add vitest infrastructure
chrisgervang Jan 28, 2026
718a052
chore(test): add tape-to-vitest migration script
chrisgervang Jan 28, 2026
4949e46
chore(test): convert test files from tape to vitest
chrisgervang Jan 28, 2026
d632932
chore(test): add TODO for typed array equality tester removal
chrisgervang Jan 28, 2026
541f0c1
chore(test): remove obsolete gpu-grid-layer test
chrisgervang Jan 28, 2026
3b187e2
chore(test): convert spy.called to vitest toHaveBeenCalled()
chrisgervang Jan 29, 2026
fd05149
chore: ignore yarn engine checks for vitest dependencies
chrisgervang Jan 29, 2026
8c1954a
chore(test): remove unused describe imports from vitest conversions
chrisgervang Jan 29, 2026
47e1d61
chore: ignore vite.config.local.mjs in eslint
chrisgervang Jan 29, 2026
14d3c7c
chore(test): convert t.pass() to console.log() in vitest migration
chrisgervang Jan 29, 2026
f14ccae
chore(test): handle test.skip and test.only in vitest migration
chrisgervang Jan 29, 2026
9e75ff6
fix(test): preserve assertion message in assert callback conversion
chrisgervang Jan 29, 2026
c2955bb
chore(test): handle expression body arrow functions in migration
chrisgervang Jan 29, 2026
2f77513
fix(ci): install Playwright browsers and use headless project
chrisgervang Jan 29, 2026
c8eef73
fix(test): exclude tests that were not in original CI suite
chrisgervang Jan 29, 2026
cfffba1
chore(test): restructure test commands with vitest projects
chrisgervang Jan 30, 2026
b0280a0
docs(rfc): update vitest migration RFC with implementation details
chrisgervang Jan 30, 2026
84ff56c
fix(test): convert makeSpy to vi.spyOn for browser compatibility
chrisgervang Jan 30, 2026
4a35838
fix(test): convert spy.restore/reset to mockRestore/mockReset
chrisgervang Jan 30, 2026
f2402ce
fix(test): convert spy.called to toHaveBeenCalled matcher
chrisgervang Jan 30, 2026
e95ae27
fix(test): handle nested t.test() conversion in migration script
chrisgervang Jan 30, 2026
d616d74
fix(test): address diff comment issues
chrisgervang Jan 30, 2026
cc69f73
chore(test): add manual fix skip list to migration script
chrisgervang Jan 30, 2026
6161023
fix(test): convert spy.callCount to toHaveBeenCalledTimes
chrisgervang Jan 30, 2026
fd9930c
fix(test): pass message to expect assertions for better error messages
chrisgervang Jan 30, 2026
8fce5f5
fix(test): convert spy.callCount to toHaveBeenCalledTimes in terrain …
chrisgervang Jan 30, 2026
4766b53
chore(test): exclude tests that were commented out on master
chrisgervang Jan 30, 2026
7054272
feat(test): add browser commands for vitest test runner
chrisgervang Jan 30, 2026
a9edc69
feat(test): add interaction and render test specs for vitest
chrisgervang Jan 30, 2026
b1e947f
docs: update CONTRIBUTING and RFC with vitest migration progress
chrisgervang Jan 30, 2026
a4ffad0
chore(deps): add image comparison dependencies for vitest
chrisgervang Jan 30, 2026
facc654
fix(scripts): remove unused fullCall variable in migration script
chrisgervang Jan 30, 2026
354485a
fix(test): add await detection for testLayerAsync and exclude failing…
chrisgervang Jan 30, 2026
a14cd26
fix(test): rename jupyter-widget utility file to not have .spec suffix
chrisgervang Jan 30, 2026
ed053cc
fix(test-utils): use mockRestore instead of mockClear for spy cleanup
chrisgervang Jan 30, 2026
cea4d17
chore(test): reduce verbose logging and use TAP for CI
chrisgervang Feb 1, 2026
8bcb3ee
RFC: Migrate from tape to vitest
chrisgervang Jan 27, 2026
d44d9d5
RFC: Add multi-environment architecture and expanded implementation plan
chrisgervang Jan 27, 2026
237a9f6
RFC: Add @deck.gl/test-utils deprecation timeline
chrisgervang Jan 27, 2026
7750fed
RFC: Update CLI commands and finalize Phase 4 discovery outcome
chrisgervang Jan 30, 2026
a30500c
fix(test-utils): enable es2022 for top-level await support
chrisgervang Feb 2, 2026
5e4683f
chore: merge chr/tape-to-vitest into chr/vitest-setup
chrisgervang Feb 2, 2026
d5a9bbf
feat(test-utils): add backward compatibility for tape/probe.gl users
chrisgervang Feb 2, 2026
c711bb8
fix(vitest): pre-bundle dependencies to prevent CI flakiness
chrisgervang Feb 2, 2026
6c04566
ci: split test steps for better visibility
chrisgervang Feb 3, 2026
ad34130
ci: use npx for vitest commands
chrisgervang Feb 3, 2026
16b3e9d
fix(test-utils): make spy framework initialization lazy
chrisgervang Feb 4, 2026
305668e
fix(test-utils): enable test-utils import in Node with NullDevice fal…
chrisgervang Feb 4, 2026
beb5176
feat(test-utils): add Injectable Spy API for framework-agnostic testing
chrisgervang Feb 4, 2026
ae7e43f
RFC: Migrate from tape to vitest
chrisgervang Jan 27, 2026
b4d166d
RFC: Add multi-environment architecture and expanded implementation plan
chrisgervang Jan 27, 2026
8c8ed22
RFC: Add @deck.gl/test-utils deprecation timeline
chrisgervang Jan 27, 2026
ec43806
RFC: Update CLI commands and finalize Phase 4 discovery outcome
chrisgervang Jan 30, 2026
bb7a6a5
RFC: Add injectable spy API, Phase 5 outcome, and Phase 7
chrisgervang Feb 4, 2026
5443914
Merge branch 'origin/chr/tape-to-vitest' into chr/vitest-setup
chrisgervang Feb 4, 2026
e8aa70c
chore(test): add createSpy to all testLayer calls (migration script o…
chrisgervang Feb 4, 2026
2ab06f0
chore(test): separate render tests into dedicated vitest project
chrisgervang Feb 5, 2026
a6acf0c
chore(test): fix test-render script and add separate entry points
chrisgervang Feb 5, 2026
4f7be42
chore(test-utils): add vi.spyOn default to vitest entry point
chrisgervang Feb 5, 2026
1f8ff88
chore(test): update migration script to use @deck.gl/test-utils/vitest
chrisgervang Feb 5, 2026
5002217
chore(test): migrate unit tests to @deck.gl/test-utils/vitest
chrisgervang Feb 5, 2026
329e6cc
chore(test): update core-layers.node.spec.ts to use vitest entry
chrisgervang Feb 5, 2026
8250c0f
chore(test): remove old tape/probe.gl test entry points
chrisgervang Feb 5, 2026
f067e09
chore(test): convert interaction tests to native vitest browser mode
chrisgervang Feb 6, 2026
de68ae4
chore(test): include interaction tests in headless project
chrisgervang Feb 6, 2026
875b0c4
chore(test): convert render tests to native vitest with test.each
chrisgervang Feb 6, 2026
c406bc3
chore(test): fix render test layer loading and use tap reporter
chrisgervang Feb 6, 2026
0eb3d30
chore(test): add views, effects, and useDevicePixels support to rende…
chrisgervang Feb 6, 2026
c84c896
chore(test): fix render test timeouts with absolute URLs and new Deck…
chrisgervang Feb 6, 2026
959390b
chore(test): add skip support for render tests and skip timeout tests
chrisgervang Feb 7, 2026
4b88f59
RFC: Migrate from tape to vitest
chrisgervang Jan 27, 2026
16437f1
RFC: Add multi-environment architecture and expanded implementation plan
chrisgervang Jan 27, 2026
4579dfb
RFC: Add @deck.gl/test-utils deprecation timeline
chrisgervang Jan 27, 2026
f860847
RFC: Update CLI commands and finalize Phase 4 discovery outcome
chrisgervang Jan 30, 2026
7119e0f
RFC: Add injectable spy API, Phase 5 outcome, and Phase 7
chrisgervang Feb 4, 2026
0a646af
Merge remote-tracking branch 'origin/chr/tape-to-vitest' into chr/vit…
chrisgervang Feb 7, 2026
f8a9a0b
fix(test): fix collision-filter-effect test expectation
chrisgervang Feb 7, 2026
d127bda
fix(test-utils): make @probe.gl/test-utils a required peer dependency
chrisgervang Feb 7, 2026
ac1293a
fix(test): use mockClear instead of mockReset for spy.reset conversion
chrisgervang Feb 7, 2026
119252b
chore(test): use @deck.gl/test-utils/vitest entry point for all spec …
chrisgervang Feb 7, 2026
0c3fa68
fix(test): correctly convert t.throws regex matchers to toThrow()
chrisgervang Feb 7, 2026
972be68
chore(test): add tap-spec formatter for prettier test output
chrisgervang Feb 16, 2026
2b7bf5e
chore(ci): upload render test failure images as artifacts
chrisgervang Feb 16, 2026
394fe75
chore(test): update golden images for mvt-layer and post-process-effects
chrisgervang Feb 27, 2026
6becbcd
RFC: Migrate from tape to vitest
chrisgervang Jan 27, 2026
d2f2f23
RFC: Add multi-environment architecture and expanded implementation plan
chrisgervang Jan 27, 2026
8a60964
RFC: Add @deck.gl/test-utils deprecation timeline
chrisgervang Jan 27, 2026
c8e9bd9
RFC: Update CLI commands and finalize Phase 4 discovery outcome
chrisgervang Jan 30, 2026
ed2dece
RFC: Add injectable spy API, Phase 5 outcome, and Phase 7
chrisgervang Feb 4, 2026
a999c4b
Merge branch 'chr/tape-to-vitest' into chr/vitest-setup
chrisgervang Feb 27, 2026
2763739
chore(test): restore coverage TODO and run migration script
chrisgervang Feb 27, 2026
754737e
fix(test): add dblclick support to browser emulateInput command
chrisgervang Feb 27, 2026
907474f
chore(test): replace tap-spec with vitest default reporter
chrisgervang Feb 27, 2026
6b9de2f
fix(test): improve modifier key handling for dblclick events
chrisgervang Feb 27, 2026
33ec6d6
RFC: Migrate from tape to vitest
chrisgervang Jan 27, 2026
7437439
RFC: Add multi-environment architecture and expanded implementation plan
chrisgervang Jan 27, 2026
1121bc5
RFC: Add @deck.gl/test-utils deprecation timeline
chrisgervang Jan 27, 2026
1bcda33
RFC: Update CLI commands and finalize Phase 4 discovery outcome
chrisgervang Jan 30, 2026
d2c9f78
RFC: Add injectable spy API, Phase 5 outcome, and Phase 7
chrisgervang Feb 4, 2026
b2970ad
refactor(test): split render tests into individual spec files
chrisgervang Feb 27, 2026
3ab80db
fix(test): fix timeline render tests by reusing Deck instance
chrisgervang Feb 27, 2026
fe58fe9
fix(test): unskip scatterplot-transition-3 and transition-4 tests
chrisgervang Feb 27, 2026
7f083a7
revert(test): restore original arc-lnglat and gridcell-lnglat golden …
chrisgervang Feb 27, 2026
d81014e
Merge branch 'origin/chr/tape-to-vitest' into chr/vitest-setup
chrisgervang Feb 27, 2026
8619d9f
chore: remove --ignore-engines and add playwright postinstall
chrisgervang Feb 27, 2026
39e5275
feat(test): upgrade vitest from 2.x to 4.x
chrisgervang Feb 27, 2026
3cc0944
fix(test): disable isolation and file parallelism for browser tests
chrisgervang Feb 27, 2026
5fdc63a
fix(test): configure viewport via playwright contextOptions for vites…
chrisgervang Mar 2, 2026
fb0c44a
fix(test): exclude flaky tests that fail with isolate: false in CI
chrisgervang Mar 2, 2026
411746c
chore(ci): simplify CI workflow and re-enable coverage
chrisgervang Mar 2, 2026
df2f530
fix(test-utils): update vitest peer dependency to ^4.0.18
chrisgervang Mar 2, 2026
5a537d4
fix(test-utils): mark @probe.gl/test-utils peer dependency as optional
chrisgervang Mar 2, 2026
66d9959
feat(scripts): add jscodeshift-based tape-to-vitest codemod
chrisgervang Mar 3, 2026
ec78fd2
fix(scripts): improve tape-to-vitest codemod transform
chrisgervang Mar 3, 2026
a752446
fix(test): correctly pass expected error to toThrow() assertions
chrisgervang Mar 3, 2026
9f43b37
docs(test): add comprehensive TEST-STATUS.md and fix test scripts
chrisgervang Mar 4, 2026
35a33c7
fix(scripts): detect 3-arg t.ok pattern as equality assertion
chrisgervang Mar 4, 2026
03b09b9
fix(test): re-enable mvt-layer tests after await fix
chrisgervang Mar 4, 2026
4bd8dea
docs(test): update TEST-STATUS.md after mvt-layer fix
chrisgervang Mar 4, 2026
02d1726
fix(test-utils): require @probe.gl/test-utils peer dependency
chrisgervang Mar 4, 2026
82f9dcb
fix(test-utils): add @probe.gl/test-utils to root devDependencies
chrisgervang Mar 4, 2026
05614bf
refactor(test): DRY up screenshot logic in deck-test-utils
chrisgervang Mar 4, 2026
51b411d
chore(test-utils): remove completed TODO comment
chrisgervang Mar 4, 2026
701afe0
Merge branch 'master' into chr/vitest-setup
chrisgervang Mar 4, 2026
fe8ea26
refactor(test-utils): Add resetSpy callback and extract shared utilities
chrisgervang Mar 5, 2026
ce9016e
fix(test-utils): Remove unused imports from setup-gl.ts
chrisgervang Mar 5, 2026
9584d2e
fix(test-utils): Add async cleanup to prevent luma.gl unhandled rejec…
chrisgervang Mar 5, 2026
0eb0a50
fix(test): Re-enable carto-raster-tile tests and document excluded tests
chrisgervang Mar 5, 2026
93bde3e
fix(test): Exclude render tests from browser project and fix vitest d…
chrisgervang Mar 6, 2026
3131d3a
fix(codemod): Use vitest entry point for utility file fixture
chrisgervang Mar 6, 2026
e70e2a3
refactor(test): Use import.meta.dirname for modern Node.js
chrisgervang Mar 6, 2026
79bc238
chore: Merge master into chr/vitest-setup
chrisgervang Mar 9, 2026
e2add2c
Merge branch 'master' into chr/vitest-setup
ibgreen Mar 28, 2026
01efe7c
rebase-cleanup
ibgreen Mar 28, 2026
c6d7b1b
fixes
ibgreen Mar 28, 2026
7eb0a2f
tape-compat
ibgreen Mar 28, 2026
b5eb8bd
Enabled skipped test cases and files
ibgreen Mar 28, 2026
6eccf27
partial-test-restore
ibgreen Mar 28, 2026
f5fb11f
fixes
ibgreen Mar 28, 2026
b03f384
fixes
ibgreen Mar 28, 2026
8535d8d
wip
ibgreen Mar 28, 2026
632f5a7
fix
ibgreen Mar 28, 2026
2625a74
disable
ibgreen Mar 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ mapbox-gl.js
.docusaurus
examples/layer-browser/
test/apps/
bindings/
bindings/
# TODO: Remove once eslint-plugin-import supports vite 5.x (vitest brings vite 5.x, master uses 4.x)
examples/vite.config.local.mjs
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,13 @@ jobs:
- name: Build packages
run: yarn build

- name: Install Playwright browsers
run: npx playwright install chromium

- name: Run tests
run: |
yarn lint
yarn test ci
yarn test-headless --coverage

- name: Coveralls
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ dist/
node_modules/
coverage/
test/**/*-failed.png
test/**/__screenshots__/
.nyc_output/
.reify-cache/

Expand Down
1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--ignore-engines true
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Engine checks disabled for all installs

Medium Severity

Adding --ignore-engines true disables dependency engine validation globally. This allows unsupported Node versions to install vitest and related tooling, then fail later at runtime instead of failing fast during install, which makes setup and CI/local behavior inconsistent and harder to diagnose.

Fix in Cursor Fix in Web

Loading
Loading