-
Notifications
You must be signed in to change notification settings - Fork 18
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
v1.6.0: [ERR_INVALID_ARG_TYPE] when using preprocess #47
Comments
Is there another error message at the top? Like
|
Could you downgrade jest and ts-jest to 26.* ? It seems we are not compatible to v27 yet. |
With Jest v27 I can't get it to work. Even if I downgrade svelte-jester to 1.5.0 I get this:
|
Regarding your questions:
|
That's because I did run it on OSX. I used another machine with windows and fixed the error. Should be released soon. |
Hello, |
Yes, it should be fixed. Can you provide a repo, where we can test your code? |
Sure, Don't know if it changes anything, but my node version is 16.3.0. |
Thanks. Got it! The real error is swallowed. Node complains about mixing commonJS and ESM. You can fix it, if you rename your I will fix the lib to not swallow the error. OR You could declare your project as |
Hi there,
I was just setting up a new project with TS and have gotten a complex error on starting the test (see below). After fiddling a bit, I tried Version 1.5.0 didn't have the issue. Since I could reproduce the issue on 2 machines, I'm quite sure, the cause lies in v1.6.0 of svelte-jester.
These were my steps:
I created a repo with which the error should be reproducible: https://github.com/Jak-Ch-ll/svelte-jester-error
Error on first machine (Windows 10, node v14.17.0, svelte-jster v1.6.0)
Error on second machine (Windows 10, node v14.15.4, svelte-jster v1.6.0)
The text was updated successfully, but these errors were encountered: