Open zFernand0 opened 4 years ago
The test failure has been address in the CLI repo by properly mocking fs.readFileSync but allowing yargs to use the real implementation. See https://github.com/zowe/zowe-cli/blob/master/__mocks__/fs.ts#L52-L55
fs.readFileSync
Originally posted by @zFernand0 in https://github.com/zowe/zowe-cli-sample-plugin/pull/53#issuecomment-713636640
The test failure has been address in the CLI repo by properly mocking
fs.readFileSync
but allowing yargs to use the real implementation. See https://github.com/zowe/zowe-cli/blob/master/__mocks__/fs.ts#L52-L55Originally posted by @zFernand0 in https://github.com/zowe/zowe-cli-sample-plugin/pull/53#issuecomment-713636640