Skip to content

Commit

Permalink
fix: increase delay for file creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sockmaster27 committed Mar 25, 2024
1 parent a69424b commit d420b47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ export async function sleep(ms: number) {
*/
export async function addFile(uri: vscode.Uri, content: string) {
await vscode.workspace.fs.writeFile(uri, Buffer.from(content))
await sleep(4000)
await sleep(6000)
}

/**
* Copy the file from `from` to `to`, and wait for the compiler to process this.
*/
export async function copyFile(from: vscode.Uri, to: vscode.Uri) {
await vscode.workspace.fs.copy(from, to)
await sleep(4000)
await sleep(6000)
}

/**
Expand Down

0 comments on commit d420b47

Please sign in to comment.