From 5f0b68ccf2450fabd231c0f484c138ec40a29f0f Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Tue, 26 Sep 2023 16:54:16 +0100 Subject: [PATCH] js: add Jest notes --- .../JavaScript/Syntax/Testing_with_Jest.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Programming_Languages/JavaScript/Syntax/Testing_with_Jest.md diff --git a/Programming_Languages/JavaScript/Syntax/Testing_with_Jest.md b/Programming_Languages/JavaScript/Syntax/Testing_with_Jest.md new file mode 100644 index 0000000..daa5fd2 --- /dev/null +++ b/Programming_Languages/JavaScript/Syntax/Testing_with_Jest.md @@ -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