Commit 34b8bc99 authored by Derek Knox's avatar Derek Knox
Browse files

Update JavaScript Testing Practices and Principles by Kent C. Dodds.md

parent 658cbec9
......@@ -71,6 +71,7 @@ A fake version of something, often a function, function payload, or module
- Test Object Factories can be a useful DRY strategy for use in `beforeEach` or `it`/`test` to get consistent reusable payloads for use in tests
- TDD works well when it's very clear what work does and does not need to be done
- Just like normal programming stay DRY
- Mocking Vue component services is common via `jest.mock('path/to/service', mockImplementation)`
## Integration
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment