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.

test not running in watch mode by default

See original GitHub issue

Current Behavior

yarn test isn’t running in interactive mode

Expected behavior

to have tests run in interactive/watch mode.

Suggested solution(s)

run jest in watch mode when tsdx test is run.

Your environment

Software Version(s)
TSDX 0.11.0
TypeScript 3.7.2
Browser N/A
npm/Yarn Yarn
Node 12.8.1
Operating System MacOS Mojave version 10.14.4

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
sw-yxcommented, Jan 9, 2020

@MartijnHols @ambroseus we are reverting the “watch mode by default” behavior we added a month ago - sorry for the flipflop. more info https://github.com/jaredpalmer/tsdx/issues/408

1reaction
sw-yxcommented, Dec 17, 2019

or ctrl + C to kill 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Run Create-React-App Tests not in Watch Mode
Use your test command with such props: "test:nowatch": "cross-env CI=true react-scripts test --env=jsdom --findRelatedTests". Share.
Read more >
Jest in watch mode didn't work - Questions - n8n community
Jest is run in watch mode, but it seems not to catch the changes. Please share the workflow. I'd like to develop my...
Read more >
Running Tests | Create React App
*Although we recommend running your tests in watch mode during development, you can disable this behavior by passing in the --watchAll=false ...
Read more >
Watch-mode · GitBook - GitHub Pages
Jest is smart enough to only re-run test cases that could be affected by the changes to the files (the changed files, all...
Read more >
Jest CLI Options
In single run mode, this defaults to the number of the cores available on your machine minus one for the main thread. In...
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