jest-manual-mocks
Demo project for using manual mocking internal node modules for JEST
https://jestjs.io/docs/en/manual-mocks
mocked functions
- fs
- readdirSync
- mkdir
Instructions
- install jest
- create folder
__mocks__
- add js file library to mock/inspect e.g.
fs