Closed NicolasMahe closed 4 years ago
We need to improve the current tests of the command service delete and put back the test written by @ilgooz (https://github.com/mesg-foundation/core/pull/613/commits/f75edb73df241df25f75c3f9b2530bbf2bf97f89#diff-1e2b189fbe22015837a0f3e008fc6378)
The issue is about how to test survey without introducing a new mock.
Some useful resources: https://github.com/AlecAivazis/survey/blob/v1.7.0/confirm_test.go#L21 https://github.com/AlecAivazis/survey#testing
https://github.com/mesg-foundation/core/pull/613#discussion_r239034804
@mesg-foundation/core todo: close or move to cli issues
We need to improve the current tests of the command service delete and put back the test written by @ilgooz (https://github.com/mesg-foundation/core/pull/613/commits/f75edb73df241df25f75c3f9b2530bbf2bf97f89#diff-1e2b189fbe22015837a0f3e008fc6378)
The issue is about how to test survey without introducing a new mock.
Some useful resources: https://github.com/AlecAivazis/survey/blob/v1.7.0/confirm_test.go#L21 https://github.com/AlecAivazis/survey#testing