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(windows): Fix running unit tests in Windows #601

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

lordrip
Copy link
Member

@lordrip lordrip commented Jan 8, 2024

Currently, the yaml package is written using ESM modules. This seems to cause an error in Windows environment during unit tests, requiring to transform said modules into CJS modules.

The workaround is to ignore the babel transform for the yaml package, effectively parsing it with babel.

Currently, the `yaml` package is written using ESM modules. This seems
to cause an error in Windows environment during unit tests, requiring
to transform said modules into CJS modules.

The workaround is to ignore the babel transform for the `yaml` package,
effectively parsing it with babel.
@lordrip lordrip merged commit c0fc064 into KaotoIO:main Jan 8, 2024
9 checks passed
@lordrip lordrip deleted the fix/run-unit-test-in-windows branch January 14, 2024 12:05
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.

1 participant