question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’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:closed
  • Created 6 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
jorgebucarancommented, Nov 9, 2017

FYI npm run test was OK too.

1reaction
acstllcommented, Nov 9, 2017

Interesting. I will try and reinstall 8.9.x to see if that fixes it (I’m also using npm not yarn). Thanks for your help 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found