From 781089452ebaf383c416047e86761fe48170d336 Mon Sep 17 00:00:00 2001 From: glen2223 <33450392+glenn2223@users.noreply.github.com> Date: Wed, 16 Oct 2024 01:18:47 +0100 Subject: [PATCH] Update extension.test.ts --- src/extension.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/extension.test.ts b/src/extension.test.ts index d7854f2..ca2af9b 100644 --- a/src/extension.test.ts +++ b/src/extension.test.ts @@ -66,6 +66,9 @@ suite("Extension Tests", function () { assert.ok(false, "Save failed"); } + // Wait for 1 second to allow the file system to update + await new Promise((resolve) => setTimeout(resolve, 1000)); + // Get the folders files const actualFiles = (await vscode.workspace.findFiles("css/**")).map( (file) => file.path.toLowerCase()