Skip to content

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

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

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

Conversation

brody4hire
Copy link
Owner

@brody4hire brody4hire 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

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

and update test snapshots

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

and update test snapshots

ref:pr #25
@brody4hire brody4hire mentioned this pull request Mar 1, 2020
2 tasks
brody4hire 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
@brody4hire brody4hire 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
@brody4hire brody4hire force-pushed the use-internal-prompt-helper-for-android-package-id branch from d162f07 to 2301fb3 Compare March 1, 2020 19:24
@brody4hire brody4hire 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