Skip to content

Commit

Permalink
Update tests and vscode test version (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong authored Oct 3, 2024
1 parent 35e22ae commit 2b067c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/test/runTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function main() {
// Passed to --extensionTestsPath
const extensionTestsPath = path.resolve(__dirname, "./suite/index");

const vscodeExecutablePath = await downloadAndUnzipVSCode("1.85.0");
const vscodeExecutablePath = await downloadAndUnzipVSCode("1.94.0");

// Download VS Code, unzip it and run the integration test
await runTests({
Expand Down
5 changes: 5 additions & 0 deletions client/src/test/suite/validation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ suite("Should validate a template against cfn-lint", () => {
"[cfn-lint] E3006: Resource type 'AWS::EC2::Instance1' does not exist in 'us-east-1'",
range: toRange(12, 4, 12, 8),
},
{
severity: vscode.DiagnosticSeverity.Error,
message: "[cfn-lint] E3673: 'ImageId' is a required property",
range: toRange(13, 2, 13, 16),
},
]);
});

Expand Down

0 comments on commit 2b067c1

Please sign in to comment.