Skip to content

Commit 318b3dc

Browse files
committed
Syntax update
1 parent 77c596b commit 318b3dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/clipboard.class.e2e.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ describe("Clipboard class", () => {
99
const textToCopy = "bar";
1010

1111
SUT.copy(textToCopy);
12-
expect(await SUT.paste()).toEqual(textToCopy);
12+
await expect(SUT.paste()).resolves.toEqual(textToCopy);
1313
});
1414
});

0 commit comments

Comments
 (0)