-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix circular transpilation #26
Conversation
This is a dirty workaround, but I have no time now to make it proper. The proper solution, btw, would be to make Jest understand query params in imports jestjs/jest#6282
👍 |
@@ -457,9 +472,6 @@ function processProgram({ types: t }, programPath, programOpts) { | |||
}; | |||
|
|||
function test(path, statepath) { | |||
if (!options.enable) { | |||
return false; | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one worked.
@@ -88,7 +88,15 @@ const STANDARD_BUILTINS = [ | |||
'_asyncToGenerator', | |||
]; | |||
|
|||
let hackyCount = undefined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This crap did not work for now.
👍 |
@@ -104,6 +112,8 @@ const mergeIntoOptions = (options, opts) => { | |||
Object.assign(options, opts); | |||
}; | |||
|
|||
let howDeepIsYourLove = 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol ❤️
Fixes #25.
This is a dirty workaround, but I have no time now to make it proper.
The proper solution, btw, would be to make Jest understand query params
in imports jestjs/jest#6282