https://github.com/theodo-uk/theodo-good-tests-runnable-examples
Some runnable examples from theodo-good-tests
https://github.com/theodo-uk/theodo-good-tests-runnable-examples
Last synced: 3 months ago
JSON representation
Some runnable examples from theodo-good-tests
- Host: GitHub
- URL: https://github.com/theodo-uk/theodo-good-tests-runnable-examples
- Owner: Theodo-UK
- Created: 2019-01-10T13:51:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T18:19:17.000Z (over 3 years ago)
- Last Synced: 2024-04-14T07:36:02.862Z (about 1 year ago)
- Language: JavaScript
- Size: 898 KB
- Stars: 4
- Watchers: 6
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Theodo Good Tests Runnable Examples
## 🛠[Installation](./docs/installation.md)
## 📜 Contents
- jest.fn object
- expect.toHaveBeenCalled, expect.toHaveBeenCalledWith, myMock.calls, myMock.results
- mockImplementation, mockReturnValue, mockImplementationOnce, mockReturnValueOnce
- myMock.mockClear, myMock.mockReset
- jest.spyOn
- jest.mock
- requireActual, jest.doMock, default export- Sagas
- `redux-saga-test-plan` fetch with success and failure
- specific final state
- matchers