Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

feat: unit testing #373

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from
Open

feat: unit testing #373

wants to merge 9 commits into from

Conversation

jcmonte
Copy link
Contributor

@jcmonte jcmonte commented May 21, 2021

Todo

  • Set up Jest
  • Utility function testing
  • Component(including hooks) testing
  • Homepage tests
  • Dashboard tests
  • Exchange tests

@vercel
Copy link

vercel bot commented May 21, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/synthetixio/kwenta/9McWVBA2DxsJDcx65UA5sTNiWqyz
✅ Preview: https://kwenta-git-feat-testing-synthetixio.vercel.app

[Deployment for 41e8565 failed]

@cypress
Copy link

cypress bot commented May 21, 2021



Test summary

1 1 0 0Flakiness 0


Run details

Project kwenta
Status Failed
Commit 7203ee5 ℹ️
Started May 21, 2021 7:47 PM
Ended May 21, 2021 7:50 PM
Duration 02:35 💡
OS Linux Ubuntu - 20.04
Browser Chrome 89

View run in Cypress Dashboard ➡️


Failures

tests/e2e/specs/trade-spec.js Failed
1 Trades tests > Trade sUSD => sETH > should exchange with success

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@@ -164,6 +164,9 @@ jobs:
- name: Extract build
run: tar -xf build.tar.gz

- name: Run unit tests
run: npm run test:unit
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@drptbl just a heads up

@jcmonte jcmonte marked this pull request as ready for review August 3, 2021 18:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant