trustedlogin / trustedlogin-connector

0 stars 2 forks source link

Fix failed Jest tests & add notes to README #149

Closed mgratch closed 1 year ago

mgratch commented 1 year ago

The purpose of this PR is to fix the handling of team settings upon switching teams and to improve the robustness of the team configuration feature.

Acceptance Criteria

Testing

  1. Checkout the fix-failed-tests branch
  2. Run yarn test
  3. Verify the tests all pass as expected.
  4. Read the new sections of the README file and verify that it makes sense and makes it easier for a new developer to be able to start add / fixing tests.
zackkatz commented 1 year ago

Run the following command in your terminal: yarn test -- -u

@mgratch I ran that after running yarn build and all sorts of other commands and ran into a failed test.

Note: If you are using yarn test --watch, you are given the option to press u to update the snapshots.

I was not given the option to press u: