Skip to content

[Integration tests refactor] __tests__/trust-relationship-send-decline.spec.js #210

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

Closed
dadiorchen opened this issue Mar 27, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@dadiorchen
Copy link
Collaborator

Now we need to refactor all the test under _ _ tests _ _
The problem:
Currently, all the integration tests direct under _ _ tests _ _ are copied from the previous end-to-end tests. And in general, there is a lot of replicated code, and unreadable and hard to maintain. We need to refactor them to an easy way to write and maintain.
There is the example: #192 you can refer to this example to refactor the test, and put the new test file into _ tests _/integration dir, and put mock data into mock-data dir.

This issue/task is to refactor the test: https://github.com/Greenstand/treetracker-wallet-api/blob/master/__tests__/trust-relationship-send-decline.spec.js

@dadiorchen dadiorchen added the good first issue Good for newcomers label Mar 27, 2021
@Kpoke Kpoke closed this as completed Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants