Remove extra awaits from tests

This commit is contained in:
Asher
2021-03-15 15:31:19 -05:00
parent d27126530f
commit f33402c503
2 changed files with 3 additions and 3 deletions

View File

@@ -360,7 +360,7 @@ describe("cli", () => {
it("should use existing if --reuse-window is set", async () => {
args["reuse-window"] = true
await expect(await shouldOpenInExistingInstance(args)).toStrictEqual(undefined)
await expect(shouldOpenInExistingInstance(args)).resolves.toStrictEqual(undefined)
await fs.writeFile(vscodeIpcPath, "test")
await expect(shouldOpenInExistingInstance(args)).resolves.toStrictEqual("test")