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

Add unit tests for updateExpiredRequests.ts #41

Open
bvotteler opened this issue Dec 21, 2022 · 0 comments
Open

Add unit tests for updateExpiredRequests.ts #41

bvotteler opened this issue Dec 21, 2022 · 0 comments

Comments

@bvotteler
Copy link
Contributor

This will be the first unit tests, so using a useful example to add something that can be replicated to add more tests later.

Suggested file to begin with: src/mappings/postBlock/updateExpiredRequests.ts - it has fairly complex logic that should be tested.

Consider using a property-based testing framework (fastcheck) for more comprehensive coverage.

@bvotteler bvotteler added enhancement New feature or request prio:medium labels Dec 21, 2022
@bvotteler bvotteler added tests and removed enhancement New feature or request labels Jul 31, 2023
@bvotteler bvotteler assigned bvotteler and unassigned bvotteler Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant