TIL - Episode 3. Mocking node modules.
In order to mock the node fs module with Jest, we need to make whats called a Manual Mock.
https://github.com/echobind/eb-scripts/pull/8/files#diff-3dbad05e428063061d9a3a717674a5f1
The important thing to note is that this needs to exist alongside the...
alvincrespo.hashnode.dev1 min read