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

[WIP TBD ...] test cleanup: simpler mock of prompts [...] #25

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

brodycj
Copy link
Owner

@brodycj brodycj commented Feb 28, 2020

UPDATED: cleanup of prompts usage was done in a different PR, this PR is now limited to the test cleanup.

with additional test cleanup to simplify the mock of prompts

npm test is ok

TODO items:

  • consider factoring out common test mocks to avoid copy-and-paste
  • remove a test workaround that was done to avoid extra snapshot churn
  • update test snapshots to be consistent with simpler mock of prompts

@brodycj brodycj self-assigned this Feb 28, 2020
@brodycj brodycj changed the title [...] cleanup: use prompt helper for Android package id [WIP ...] cleanup: use prompt helper for Android package id Feb 28, 2020
@brodycj brodycj mentioned this pull request Feb 28, 2020
5 tasks
brodycj pushed a commit that referenced this pull request Mar 1, 2020
(internal prompt helper function)

and update test snapshots

closes #25 (PR #25)
brodycj pushed a commit that referenced this pull request Mar 1, 2020
(internal prompt helper function)

and update test snapshots

ref:pr #25
@brodycj brodycj mentioned this pull request Mar 1, 2020
2 tasks
brodycj pushed a commit that referenced this pull request Mar 1, 2020
* cleanup: use prompt helper for Android package id

(internal prompt helper function)

and update test snapshots

ref:pr #25

* check prompts argument is an Array in test mocks
@brodycj brodycj changed the title [WIP ...] cleanup: use prompt helper for Android package id [WIP ...] cleanup: use prompt helper for [...] with simpler test mock Mar 1, 2020
with TBD comments to simplify snapshots
@brodycj brodycj force-pushed the use-internal-prompt-helper-for-android-package-id branch from d162f07 to 2301fb3 Compare March 1, 2020 19:24
@brodycj brodycj changed the title [WIP ...] cleanup: use prompt helper for [...] with simpler test mock [WIP TBD ...] test cleanup: simpler mock of prompts [...] Mar 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant