We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be0a7e2 commit 0fd2688Copy full SHA for 0fd2688
1 file changed
extensions/vscode-api-tests/src/singlefolder-tests/editor.test.ts
@@ -47,9 +47,19 @@ suite('vscode API - editors', () => {
47
});
48
49
50
- test('insert snippet with clipboard variables', async () => {
+ test('insert snippet with clipboard variables', async function () {
51
const old = await env.clipboard.readText();
52
- await env.clipboard.writeText('INTEGRATION-TESTS');
+
53
+ const newValue = 'INTEGRATION-TESTS';
54
+ await env.clipboard.writeText(newValue);
55
56
+ const actualValue = await env.clipboard.readText();
57
58
+ if (actualValue !== newValue) {
59
+ // clipboard not working?!?
60
+ this.skip();
61
+ return;
62
+ }
63
64
const snippetString = new SnippetString('running: $CLIPBOARD');
65
0 commit comments