From aca9c5b5615309e2921a0dd8408fc8027eb813fa Mon Sep 17 00:00:00 2001 From: Matt Seddon Date: Mon, 31 Jul 2023 19:09:38 +1000 Subject: [PATCH] Watch a small directory for testing purposes --- extension/src/test/suite/setup/util.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/extension/src/test/suite/setup/util.ts b/extension/src/test/suite/setup/util.ts index af34f710ff..934c84a3d5 100644 --- a/extension/src/test/suite/setup/util.ts +++ b/extension/src/test/suite/setup/util.ts @@ -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]) const setup = disposer.track( new Setup(