We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77c596b commit 318b3dcCopy full SHA for 318b3dc
lib/clipboard.class.e2e.spec.ts
@@ -9,6 +9,6 @@ describe("Clipboard class", () => {
9
const textToCopy = "bar";
10
11
SUT.copy(textToCopy);
12
- expect(await SUT.paste()).toEqual(textToCopy);
+ await expect(SUT.paste()).resolves.toEqual(textToCopy);
13
});
14
0 commit comments