Cannot run tests
See original GitHub issueI’m getting a SyntaxError: Unexpected token import
error for all 4 suites.
This seems to be Jest not finding some babel
configuration, see here.
I see there’s no .babelrc file, just this: https://github.com/picodom/picodom/blob/master/package.json#L30
Any ideas?
(I just do npm test
with node version 8.9.0
.)
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Tests not running in Test Explorer - visual studio
This was my problem, too. In VS 2019, it doesn't seem to happen with Xunit, though. But it always occur when using MsTest...
Read more >Can't run or debug unit tests - Visual Studio Feedback
I'm using Visual Studio Community Edition 15.8.1 and I can't run or debug any unit tests. Every time I'm trying to run the...
Read more >Cannot run Unit Tests | Apple Developer Forums
1. Open project in Xcode which has unit tests · 2. Open the Test navigator · 3. Click a run button to run...
Read more >How To Resolve Issue Of Test Project Not Running The Unit ...
Two of my test projects didn't run the test cases, it was about to start and took some time to run the test...
Read more >Tests not running in Visual Studio - Developers Log
[Warning] No test is available in xxx.dll. Make sure that test discoverer & executors are registered and platform & framework version settings ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
FYI
npm run test
was OK too.Interesting. I will try and reinstall 8.9.x to see if that fixes it (I’m also using
npm
notyarn
). Thanks for your help 😃