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.

Jest indicated that certain test suites are failing to run

See original GitHub issue

Bug Report

What is the current behavior?

Jest is throwing errors that test suites are failing to run in certain files.

What is the expected behavior?

Jest should not throw errors in test.js files.

What steps did you take to get this behavior?

Ran the test runner yarn test

Additional Info

Operating System

Windows 10 Pro Version 1803 OS build 17134.285

Browser

Screenshots

jest error

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
nvwebdcommented, Sep 27, 2018

Hi. What I mean that the master branch doesn’t have the same source code state as Chris has.

But after inspection I’ve noticed that the code is the same 😃

The error line threw me off a bit.

I have Bootcamp on my mac and I’ll switch to windows and check it out.

For now 😃 I’ll buy a used machine 200€ to have a windows env always at hand 😃

Edit: already ordered one to have a Windows env - it’s such a shame Windows can’t be dockerized - at least I think not 😉

0reactions
kylemhcommented, Oct 2, 2018

Closing this. Hopefully it’s isolated to the specific extension and some kind of incorrect config.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jest Test suite failed to run - Stack Overflow
js ○ Test suite failed to run Your test suite must contain at least one test. at onResult (node_modules/@jest/core/build/TestScheduler.js:175: ...
Read more >
nx test: Jest unit tests are failing to run in any test that ... - GitHub
Current Behavior An NX - Ionic and Vue workspace fails to run tests, many solutions tested and any seems to fix the issue:...
Read more >
Jest CLI Options
Run only the tests that were specified with a pattern or filename: ... Exit the test suite immediately upon n number of failing...
Read more >
How To Test a React App with Jest and React Testing Library
The warning tells you that a state update occurred when it was not expected. However, the output also indicates that the tests have...
Read more >
Jest CLI Options - GitHub Pages
jest. Run only the tests that were specified with a pattern or filename: ... Alias: -b . Exit the test suite immediately upon...
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