-
Notifications
You must be signed in to change notification settings - Fork 45
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
Inline messages only appear once #822
Comments
Nice find! It was a bug reproducible in certain environment conditions (Electron, System.js, Angular). The issue is fixed and the fix is published in wallaby core 1.0.304. I have also brushed up your wallaby config a bit:
return this.http.get('/assets/data.json')
.map((res: Response) => res.json())... because there's no Hope it makes sense. Please let me know if this work for you now. |
Thanks for the quick reply.
I'll get back with more info once I have a few minutes to investigate this. Might just need to install the package or something. |
@adrianfaciu It's weird, there's been no changes that could affect it neither in the core, nor in the config. Try re-installing the |
Might be related to VS Code. I've cloned the repository in a new folder and did npm install and got the same result. Reinstalling wallabyjs made no difference. However everything seems to work just fine inside IntelliJ and I can confirm that the problem with the inline message is fixed. I'll try to see what's with VS Code. Maybe it's related to latest 1.6 update, when I initially reproduced this I was using 1.5.3. |
Hmm, it's definitely related to VS Code. I have reproduced the issue in 1.6, however 1.5.3 is working fine. Will investigate. |
Fixed the VS Code specific issue and published the fix in wallaby core 1.0.305. |
Works perfectly now. Thanks for the help. |
Issue description or question
Working on creating a wallabyjs config file for an angular2-seed based project. I have a basic first version up and running, but the inline error messages only appear first time.
If a test is failing and I start wallabyjs, the error message is shown inline, but after an edit is done it no longer shows up. If all the tests are passing and I start wallabyjs and break a test the message will show up. However after first edit it will disappear for good.
I've followed the documentation and since the project is using systemjs I've used the electron test runner to get the inline messages. Feeling like I'm missing something obvious but can't figure out what.
Can provide wallabyjs debug messages if needed.
Wallaby.js configuration file
Repo and wallabyjs.config is here.
Code editor or IDE name and version
Tested in both:
Visual Studio Code v1.5.3
IntelliJ IDEA 2016.2.4
OS name and version
Windows 10 (Version 1607 Build 14393.222)
The text was updated successfully, but these errors were encountered: