Skip to content

Commit 867a4f6

Browse files
authored
Add sleeping test (#205)
1 parent a0e72e8 commit 867a4f6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

client/src/test/suite/cfnlint.test.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ import * as assert from 'assert';
44
import * as fs from 'fs';
55
import { getDocUri, activate, activateAndPreview, getDocPath } from './helper';
66

7+
suite('A test to create some better spacing for activation', () => {
8+
const docUri = getDocUri('good.yaml');
9+
10+
test('A more elaborate sleep', async () => {
11+
await activate(docUri);
12+
13+
const actualDiagnostics = vscode.languages.getDiagnostics(docUri);
14+
console.log(actualDiagnostics);
15+
});
16+
});
17+
718
suite('Should have failures with a bad template', () => {
819
const docUri = getDocUri('bad.yaml');
920

@@ -125,3 +136,4 @@ async function testDiagnostics(docUri: vscode.Uri, expectedDiagnostics: vscode.D
125136
assert.equal(actualDiagnostic.severity, expectedDiagnostic.severity);
126137
});
127138
}
139+

0 commit comments

Comments
 (0)