js: add Jest notes
This commit is contained in:
parent
6a014d0673
commit
5f0b68ccf2
1 changed files with 19 additions and 0 deletions
19
Programming_Languages/JavaScript/Syntax/Testing_with_Jest.md
Normal file
19
Programming_Languages/JavaScript/Syntax/Testing_with_Jest.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
categories:
|
||||
- Programming Languages
|
||||
tags: [javascript, testing]
|
||||
---
|
||||
|
||||
# Testing with Jest
|
||||
|
||||
## Mock a function
|
||||
|
||||
## Mock a class/module
|
||||
|
||||
## Check that a function has been called within another function
|
||||
|
||||
## Mock a function that needs to be called within another function
|
||||
|
||||
## Mock a function that takes arguments
|
||||
|
||||
## Mocking network requests
|
Loading…
Add table
Reference in a new issue