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

100% Test Coverage #8

Closed
mrWh1te opened this issue Feb 17, 2020 · 3 comments
Closed

100% Test Coverage #8

mrWh1te opened this issue Feb 17, 2020 · 3 comments

Comments

@mrWh1te
Copy link
Owner

mrWh1te commented Feb 17, 2020

1 Missing Bot Action in Tests:

// sleep() Integration Test

wait()() doesn't have proper testing yet, see code comments for more

@mrWh1te
Copy link
Owner Author

mrWh1te commented Feb 19, 2020

Added an integration test to calling setTimeout via the sleep() utility helper:
https://github.com/mrWh1te/Botmation/blob/master/src/tests/botmation/helpers/utilities.spec.ts

Add one more integration test on the bot action, then follow Jest for adding new features into setTimeout testing

@mrWh1te
Copy link
Owner Author

mrWh1te commented Feb 19, 2020

Extending test coverage to the console helper methods will increase coverage a bit

@mrWh1te mrWh1te changed the title 1 Missing Bot Action in Tests 100% Test Coverage Feb 19, 2020
@mrWh1te
Copy link
Owner Author

mrWh1te commented Jul 29, 2020

Resolved in PR #20

@mrWh1te mrWh1te closed this as completed Jul 29, 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

No branches or pull requests

1 participant