Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch a small directory for testing purposes #4385

Merged
merged 3 commits into from
Jul 31, 2023
Merged

Conversation

mattseddon
Copy link
Member

No description provided.

@@ -162,6 +162,7 @@ export const buildSetupWithWatchers = async (disposer: Disposer) => {
ensureDirSync(TEMP_DIR)

stub(WorkspaceFolders, 'getFirstWorkspaceFolder').returns(TEMP_DIR)
stub(WorkspaceFolders, 'getWorkspaceFolders').returns([TEMP_DIR])
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[F] Stubbing this means that we should be watching far less files and a timeout should be much less likely

@mattseddon mattseddon marked this pull request as ready for review July 31, 2023 09:14
@mattseddon mattseddon enabled auto-merge (squash) July 31, 2023 09:36
@mattseddon mattseddon disabled auto-merge July 31, 2023 19:00
@mattseddon mattseddon enabled auto-merge (squash) July 31, 2023 19:24
@codeclimate
Copy link

codeclimate bot commented Jul 31, 2023

Code Climate has analyzed commit b613ad7 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 95.3%.

View more on Code Climate.

@mattseddon mattseddon merged commit cf6c278 into main Jul 31, 2023
@mattseddon mattseddon deleted the watch-less-in-test branch July 31, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants