Closed rcruzper closed 5 years ago
Hi,
I'm mocking a file with mock-fs and when I run the mocha command the tests are working but when I run npm test it seems that the mock is being ignored.
package.json:
"scripts": { "pretest": "eslint .", "test": "nyc mocha \"./test/**/*.test.js\" --exit", "coverage": "nyc report --reporter=text-lcov | coveralls" }
Anyone knows what could it be happening?
Kind regards.
Hi,
I'm mocking a file with mock-fs and when I run the mocha command the tests are working but when I run npm test it seems that the mock is being ignored.
package.json:
Anyone knows what could it be happening?
Kind regards.