Skip to content

fix(Testing): match webpack define name to JS global for VTKJS_TEST_PATTERN#3451

Open
PaulHax wants to merge 1 commit intoKitware:masterfrom
PaulHax:fix-test-pattern-define
Open

fix(Testing): match webpack define name to JS global for VTKJS_TEST_PATTERN#3451
PaulHax wants to merge 1 commit intoKitware:masterfrom
PaulHax:fix-test-pattern-define

Conversation

@PaulHax
Copy link
Collaborator

@PaulHax PaulHax commented Mar 25, 2026

The webpack DefinePlugin used TEST_PATTERN but Sources/Testing/index.js reads VTKJS_TEST_PATTERN, so the filter was never applied.

Sorry.

…ATTERN

The webpack DefinePlugin used __TEST_PATTERN__ but Sources/Testing/index.js
reads __VTKJS_TEST_PATTERN__, so the filter was never applied.
Copy link
Collaborator

@sankhesh sankhesh left a comment

Choose a reason for hiding this comment

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

LGTM

@jourdain
Copy link
Collaborator

I thought we were using vitest now?

@daker
Copy link
Collaborator

daker commented Mar 25, 2026

@jourdain the vite/vitest PR is not yet merged #3435

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.

4 participants