-
Notifications
You must be signed in to change notification settings - Fork 294
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
jest runs but editor integration fails #80
Comments
The same problem. |
Similar issue here, works fine in one of my projects but not in another, not sure what the difference is.
vscode 1.9.1 Here's my .babelrc since the error seems to be coming from babylon:
|
Same here. Very strange, because this feature worked when I initially downloaded the extension but broke when I did a refresh when I installed eslint. |
I'm having the same issue and I just cloned the repo and started to investigate a bit. The error occurs in
Update: Some more context: I'm getting the parse error on the .spec file in a line and column containing JSX. So, this seems as if jest-editor-support/babylon isn't using the plugins/presets in .babelrc to parse the spec file. @orta How do we go from here? I'd love to contribute. I'll check jest-editor-support for some issues next. Regardless of this particular error, how do you feel about wrapping critical function calls like this in a try...catch? We could still throw to the console (or even use a VSCode error dialog). But more importantly, we could add a lot of info where the error occurred. Something like "Couldn't update Decorations, parsing the source file failed with the following error..." would have probably helped here quite a bit. |
Update: I believe I found the issue, see jestjs/jest#3070. |
Sorry, I'm out on my honeymoon - so can't dig into anything for a few weeks
I'm afraid
…On Mar 6, 2017 6:01 AM, "Etienne Dilocker" ***@***.***> wrote:
Update: I believe I found the issue, see jestjs/jest#3070
<jestjs/jest#3070> at jest.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#80 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAC_jmG_nWJRVV2ttXMRkbkPgxEW68g3ks5riyLEgaJpZM4MC_tI>
.
|
Don't worry about it - the issues are most likely in other packages anyway. Enjoy your honeymoon! |
happy honeymoon dude :D
… On 6 Mar 2017, at 10:35, Orta ***@***.***> wrote:
Sorry, I'm out on my honeymoon - so can't dig into anything for a few weeks
I'm afraid
On Mar 6, 2017 6:01 AM, "Etienne Dilocker" ***@***.***> wrote:
> Update: I believe I found the issue, see jestjs/jest#3070
> <jestjs/jest#3070> at jest.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#80 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAC_jmG_nWJRVV2ttXMRkbkPgxEW68g3ks5riyLEgaJpZM4MC_tI>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#80 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AC2FkJIgqvYWfMi474eAjOiVb2b-Dlmjks5ri8VLgaJpZM4MC_tI>.
|
My PR on facebook/jest has been merged and the issue there has been closed. Let's keep this one open until the changes in jest and therefore jest-editor-support have been released. At least the error I had is gone with the changes. |
vscode-jest should have the latest version of jest-editor-support at this time. |
Hello,
Tried to use the extension today, but it seems to work only in part for me.
Not sure what else i could provide as details, please let me know.
Cheers
The text was updated successfully, but these errors were encountered: