I am using watch mode for a single file. When I save the file in question, jest kicks off a test run and when the test run is done, jest gets the results. All the while, the hashed background on the test-file/summary is animated to indicate that jest is still running. And the run becomes a "stop" when jest is running.
It would be nicer if the following happened for certain events
pressing run:
the button should change to stop
the background of the summary should animate because jest is doing the initial run
jest is doing the initial run
the button is stop
the background is animated
completes the initial run
the button is still stop
the background stops animating
I save the test file and jest starts running the tests
the button is still stop
the background starts animating
jest finishes running the tests
the button is still stop
the background stops animating
I press stop
the button returns to run
This allows the user to understand what state jest is in.
Jest is idle watch mode when the button says stop
jest is actively running tests when the background is animated
If the UI behaved this way, I would be able to look at the screen and know exactly what state I am in and if I should wait longer before trusting the state of the test results.
Is this a bug report or a feature request?
Feature request
Version Info
Reproduction Repo
I am using watch mode for a single file. When I save the file in question, jest kicks off a test run and when the test run is done, jest gets the results. All the while, the hashed background on the test-file/summary is animated to indicate that jest is still running. And the run becomes a "stop" when jest is running.
It would be nicer if the following happened for certain events
This allows the user to understand what state jest is in. Jest is idle watch mode when the button says stop jest is actively running tests when the background is animated
If the UI behaved this way, I would be able to look at the screen and know exactly what state I am in and if I should wait longer before trusting the state of the test results.