-
Notifications
You must be signed in to change notification settings - Fork 88
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
Module or class with Validator does not run with JUnit #287
Comments
https://www.typescriptlang.org/tsconfig#esModuleInterop Do you have tried to set esModuleInterop: true in tsconfig? |
@erfanium it's set to true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a typescript file that starts like
This file is imported in my main file as
and it works without an issue.
Observed: when I create a Jest Typescript test file with the same import I get an error
which makes it impossible for me to use the fastest_validator in the testing code.
Expected:
fastest-validator
codeI use:
The text was updated successfully, but these errors were encountered: