js: add Jest notes

This commit is contained in:
thomasabishop 2023-09-26 16:54:16 +01:00
parent 6a014d0673
commit 5f0b68ccf2

View 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