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

Tests on Voting Dapp πŸ•΅πŸ»β€β™‚οΈ #24

Merged
merged 27 commits into from Feb 3, 2022

Conversation

Samuellyworld
Copy link
Collaborator

Tests On Voting_DApp

  • each folder have its __snapshots__ results, which is a form of a results after running jest command.
  • setUpTests.js has the configuration and the enzyme-adapter enviornment before running.
  • check README.md for terminal results and run steps

Technology Used

  • Jest
  • Enzyme
  • Enzyme-Adapter
  • axios mock adapter

Preview

image

  • Failed Tests suite

image

  • Test Coverage with
 $ npm test -- --coverage

this will generate a total tests coverage folder after the command in the code directory

image

@Samuellyworld Samuellyworld changed the title Tests on Voting Dapp Tests on Voting Dapp πŸ•΅πŸ»β€β™‚οΈ Feb 3, 2022
@ChoiceCoin ChoiceCoin merged commit 6a791ed into ChoiceCoin:main Feb 3, 2022
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.

None yet

2 participants