Usage with ts-jest #395
-
Hey there 👋 I've got vanilla-extract setup with the webpack plugin (without babel). I'm trying to get my jest tests running without using
I've tried using I've also tried to use a style mock with the following config.
But that throws the following error.
It can be worked around by mocking each export referenced from
But that's probably not feasible as every new export exposed from Is there another way to get vanilla-extract working with Here is a repro if its useful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I've never used |
Beta Was this translation helpful? Give feedback.
I've never used
ts-jest
so not sure what's possible. However, if you can set custom transforms like in jest then you could pass the.css.ts
through the babel-plugin via that.