Here is the full error output:
Test suite failed to run
TypeError: Cannot read properties of undefined (reading 'read')
2 | const { default: axios } = require('axios');
3 | const fs = require('fs');
> 4 | const mockFs = require('mock-fs');
The module mock-fs
is definitely installed, and I have deleted node_modules and reinstalled...
I am using VSCode on WSL1.
How do I import mock-fs?