You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run jest without the transform key present in package.json
all tests pass fine (in the second case, minus of course typescript tests, which I need ts-jest's transform for 😬 )
I'm running:
jest: 21.2.1
ts-jest: 21.2.4
node: v8.9.0
npm: 5.6.0
mac: 10.12.6 (16G29) (but problem occurring in stock Travis builds as well)
I am not using any kind of babel config, although while investigating this problem I tried using babel-plugin-transform-object-rest-spread, but it didn't seem to have made a difference.
Prior to adding ts-jest to the setup, I had this same problem with jest as well, but this PR (and subsequent release back in September) fixed it: #4519
Any thoughts on what the problem might be? 🙇
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
Cross posting from kulshekhar/ts-jest#386 as it seems like it's not a ts-jest issue
Do you want to request a feature or report a bug?
Report a bug
Issue
When I run jest with coverage turned on
jest --coverage
and the tranform key present in package.jsone.g.:
every test that involves an object spread operator fails.
If I either:
--coverage
or
transform
key present in package.jsonall tests pass fine (in the second case, minus of course typescript tests, which I need ts-jest's transform for 😬 )
I'm running:
jest: 21.2.1
ts-jest: 21.2.4
node: v8.9.0
npm: 5.6.0
mac: 10.12.6 (16G29) (but problem occurring in stock Travis builds as well)
I am not using any kind of babel config, although while investigating this problem I tried using
babel-plugin-transform-object-rest-spread
, but it didn't seem to have made a difference.Minimal Repo that reproduces the issue
Link to a minimal repo that reproduces this issue. There's also a branch that shows what happens when
transform
is removed from package.jsonTravis is configured on this repo. Relevant build
Additional background info
Prior to adding
ts-jest
to the setup, I had this same problem with jest as well, but this PR (and subsequent release back in September) fixed it: #4519Any thoughts on what the problem might be? 🙇
The text was updated successfully, but these errors were encountered: