Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mocks): fix conflict between mocks and skip
This fixes a conflict between mocks.init() and utils.skipOnWin/skipOnUnix. mocks.init() mocks out process.stderr.write, which utils.js implicitly depends on. Instead, preserve stderr.write in a local variable to avoid polluting mocked stdio and to correctly output warning messages. Fixes #862 Test: locally apply mocks.init() inside test/which.js
- Loading branch information