Skip to content

Fixed overriding runner setup by passing setupFilesAfterEnv#12

Merged
johnjenkins merged 2 commits intostenciljs:mainfrom
JoniBecker:fix-overriding-runner-setup
Feb 17, 2026
Merged

Fixed overriding runner setup by passing setupFilesAfterEnv#12
johnjenkins merged 2 commits intostenciljs:mainfrom
JoniBecker:fix-overriding-runner-setup

Conversation

@JoniBecker
Copy link

@JoniBecker JoniBecker commented Feb 17, 2026

Moving the setupFilesAfterEnv property after the ...options spread and spreading the optional setupFilesAfterEnv from the argument prevents the 'jest-stencil-runner/setup' entry from being removed due to overwriting the setupFilesAfterEnv property in the spread.

This should fix issue #11

@johnjenkins johnjenkins merged commit c80030f into stenciljs:main Feb 17, 2026
3 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