Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(instruments): should not crash if the app was terminated inside a test #1823

Merged
merged 4 commits into from Jan 3, 2020

Conversation

noomorph
Copy link
Collaborator

@noomorph noomorph commented Jan 2, 2020

  • This is a small change

Description:

If we terminate a tested app inside a test, then the test next to it won't pass if you have --record-performance all flag turned on. 😞 Detox tries to send setRecordingState via Client.js right inside beforeEach phase, which is a bad idea in the case when the app is not running.

@noomorph noomorph force-pushed the fix/record-instruments-in-terminated-app branch from fd0f611 to ca4bf65 Compare January 3, 2020 12:11
@noomorph noomorph force-pushed the fix/record-instruments-in-terminated-app branch from ca4bf65 to c64d98f Compare January 3, 2020 14:36
@noomorph noomorph merged commit 7d87778 into master Jan 3, 2020
@noomorph noomorph deleted the fix/record-instruments-in-terminated-app branch January 3, 2020 15:15
@lock lock bot locked as resolved and limited conversation to collaborators Jan 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant