Skip to content

fix: Don't use import statement #69

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

Merged
merged 3 commits into from
May 29, 2022
Merged

fix: Don't use import statement #69

merged 3 commits into from
May 29, 2022

Conversation

eps1lon
Copy link
Owner

@eps1lon eps1lon commented May 29, 2022

Closes #68

{
files: "transforms/**/*",
parserOptions: {
sourceType: "module",
Copy link
Owner Author

Choose a reason for hiding this comment

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

Responsible for hiding the wrong module usage.

@@ -25,7 +25,6 @@
"@types/jscodeshift": "^0.11.3",
"@types/node": "^16.10.0",
"@types/yargs": "^17.0.10",
"babel-jest": "^28.0.0",
Copy link
Owner Author

Choose a reason for hiding this comment

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

No longer needed since we now use commonJS in tests

@@ -64,6 +64,7 @@ const config = {

// A set of global variables that need to be available in all test environments
// globals: {},
injectGlobals: 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.

Required due to jestjs/jest#9920

@eps1lon eps1lon marked this pull request as ready for review May 29, 2022 15:26
@eps1lon eps1lon merged commit 52da899 into main May 29, 2022
@eps1lon eps1lon deleted the fix/esm branch May 29, 2022 15:26
@github-actions github-actions bot mentioned this pull request May 29, 2022
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.

Import error
1 participant