An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# Theodo Good Tests Runnable Examples



Theodo

Some runnable examples related to the docs at theodo-good-tests


## 🛠 [Installation](./docs/installation.md)

## 📜 Contents

### Mocking-Examples

- 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

### Redux-Examples

- Sagas
- `redux-saga-test-plan` fetch with success and failure
- specific final state
- matchers