Skip to content

Commit

Permalink
Update extension.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn2223 committed Oct 17, 2024
1 parent 3ff56f1 commit 0182285
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,15 @@ suite("Extension Tests", function () {
// Ensure extension has enough time to start
await new Promise((resolve) => setTimeout(resolve, 1200));

console.log("SAVING FILE");

// Save the file
if (!(await doc.document.save())) {
assert.ok(false, "Save failed");
}

console.log("FILE SAVED");

// Wait for 1 second to allow the file system to update
await new Promise((resolve) => setTimeout(resolve, 100));

Expand Down

0 comments on commit 0182285

Please sign in to comment.