Skip to content
This repository was archived by the owner on Apr 1, 2023. It is now read-only.

Tests runs only once instead of watch mode #9

Closed
skulptur opened this issue Mar 16, 2018 · 4 comments
Closed

Tests runs only once instead of watch mode #9

skulptur opened this issue Mar 16, 2018 · 4 comments

Comments

@skulptur
Copy link

As the title says. Just tried with a clean copy to make sure I hadn't messed with anything. I guess the expected behavior was that the tests would run continuously? If not I'd appreciate hints on how to achieve that since I don't quite get what the CI=1 means in the test command.

@transitive-bullshit
Copy link
Owner

Yeah, I had switched off the watch functionality with the CI=1 so we could run tests in without it hanging forever.

You can either just remove that CI=1 and/or we should add a test:watch script that runs it without that flag.

@skulptur
Copy link
Author

Thanks for being so responsive!

Removing CI=1 throws a bunch of errors.

@transitive-bullshit
Copy link
Owner

Hmmm, it works for me on a few test libraries I've created.

It's just calling react-scripts test --env=jsdom under the hood, so I'd suggest searching for your errors on their repo.

@skulptur
Copy link
Author

You're right. Seems to be a problem on their end . Same errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants