million-views / praas

Proxy as a service.
MIT License
4 stars 2 forks source link

Adding functional test for signin page #154

Closed sirajulmcb closed 4 years ago

shinenelson commented 4 years ago

I can't vouch for the semantics of the test code, but I've checked out the branch, run the tests and can vouch that they all pass :+1:

 PASS  src/pages/Login/__tests__/index.test.tsx (5.454s)
  Signup Page
    ✓ should render the page (234ms)
    ✓ should have required form errors (179ms)
    ✓ should have invalid form errors (117ms)
    ✓ should have submit valid form (129ms)

Test Suites: 1 passed, 1 total
Tests:       4 passed, 4 total
Snapshots:   0 total
Time:        6.505s
Ran all test suites.
m5nv commented 4 years ago

LGTM