Skip to content
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

Merged
merged 3 commits into from
May 31, 2019
Merged

Conversation

peter-leonov
Copy link
Owner

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

Petr Leonov added 3 commits May 31, 2019 14:30
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
@peter-leonov
Copy link
Owner Author

👍

@@ -457,9 +472,6 @@ function processProgram({ types: t }, programPath, programOpts) {
};

function test(path, statepath) {
if (!options.enable) {
return false;
}
Copy link
Owner Author

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
Copy link
Owner Author

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.

@undrafted
Copy link

👍

@peter-leonov peter-leonov merged commit 8fb4053 into master May 31, 2019
@peter-leonov peter-leonov deleted the fix-circullar-transpilation branch May 31, 2019 13:47
@@ -104,6 +112,8 @@ const mergeIntoOptions = (options, opts) => {
Object.assign(options, opts);
};

let howDeepIsYourLove = 0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol ❤️

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.

Circular introscope exporting for non-Jest environments
2 participants