Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

A way to unpause when using the pause helper #3

Open
Robdel12 opened this issue Apr 15, 2018 · 1 comment
Open

A way to unpause when using the pause helper #3

Robdel12 opened this issue Apr 15, 2018 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@Robdel12
Copy link
Contributor

The pause helper on @bigtest/mocha & in @bigtest/interaction is really helpful for debugging tests. But when you pause a test with Karma the runner hangs and you need to kill the test server and restart it to rerun any tests.

I'm not sure how we handle this. The first thought is save the resolve method of the never ending promise to a global function so you can resolve it at any time. But this pollutes the global space 🤔

@Robdel12
Copy link
Contributor Author

I think @wwilsman added some docs to move the tear down to a beforeEach instead of afterEach which takes care of this?

@Robdel12 Robdel12 added bug Something isn't working enhancement New feature or request and removed triage labels Apr 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant