Unable to point testEnvironment
to a node module in stencil.config.ts
#2425
Labels
testEnvironment
to a node module in stencil.config.ts
#2425
Stencil version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
Tests do not run when pointing
testEnvironment
to a node module instencil.config.ts
. Jest looks for the module in/path/to/my/project/stencil.config.ts/<module name>
Expected behavior:
Tests should run when pointing
testEnvironment
to a node module instencil.config.ts
as described in Configuring Jest Guide.Steps to reproduce:
testEnvironment
to "jsdom" instencil.config.ts
.npm test
Related code:
I set
testEnvironment
to "jsdom" instencil.config.ts
like this:The text was updated successfully, but these errors were encountered: