Skip to content

Fixes issue with running tests on newer node versions#1644

Merged
TwitchBronBron merged 1 commit intomasterfrom
fix-mocha-on-newer-node-versions
Mar 18, 2026
Merged

Fixes issue with running tests on newer node versions#1644
TwitchBronBron merged 1 commit intomasterfrom
fix-mocha-on-newer-node-versions

Conversation

@TwitchBronBron
Copy link
Member

The new type stripping features of node cause problems with ts-node, so we need to optionally flip that flag to false in newer node versions when running unit tests. Had to do this in a .cjs file because node throws exceptions in older versions when passing in unknown flags

@TwitchBronBron TwitchBronBron enabled auto-merge (squash) March 18, 2026 15:04
@TwitchBronBron TwitchBronBron merged commit e908cf1 into master Mar 18, 2026
5 checks passed
@TwitchBronBron TwitchBronBron deleted the fix-mocha-on-newer-node-versions branch March 18, 2026 15:08
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.

1 participant