zowe / zowe-explorer-vscode

Visual Studio Code Extension for Zowe, which lets users interact with z/OS Data Sets, Unix System Services, and Jobs on a remote mainframe instance. Powered by Zowe SDKs.
Eclipse Public License 2.0
162 stars 90 forks source link

test: Create private package for mocking utilities #2790

Open zFernand0 opened 6 months ago

zFernand0 commented 6 months ago

Curious if it makes sense to try and reuse some of these mocks.

I know it may be required for the __mocks__ to be at the same level as the project's jest configuration, but we could trick jest by just using symlinks? 😋

_Originally posted by @zFernand0 in https://github.com/zowe/zowe-explorer-vscode/pull/2777#discussion_r1528677089_


Maybe this could be an internal (private) package for testing utilities, that we can share across the API, FTP ext., and ZE? We can have it as a dev. dep and that should remove any duplication between these utils files 😅

_Originally posted by @traeok in https://github.com/zowe/zowe-explorer-vscode/pull/2777#discussion_r1528799914_

github-actions[bot] commented 6 months ago

Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 10 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.