Skip to content

Commit

Permalink
fix: fix tests for ls update
Browse files Browse the repository at this point in the history
  • Loading branch information
ansgarm committed Aug 8, 2024
1 parent 9acbf5d commit ea31988
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/integration/stacks/deployment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ deployment "test" {
test('completes audience in identity_token block', async () => {
// add a new incomplete "account_3" identity_token block to use for completions
await vscode.window.activeTextEditor?.edit((editBuilder) => {
editBuilder.insert(new vscode.Position(14, 0), 'identity_token {\n\n}\n');
editBuilder.insert(new vscode.Position(14, 0), 'identity_token "test" {\n\n}\n');
});

const expected = [new vscode.CompletionItem('audience', vscode.CompletionItemKind.Property)];
Expand Down
2 changes: 1 addition & 1 deletion src/test/integration/stacks/stack.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ suite('stacks stack', () => {

test('completes config and for_each blocks within provider', async () => {
const expected = [
new vscode.CompletionItem('config', vscode.CompletionItemKind.Property),
new vscode.CompletionItem('config', vscode.CompletionItemKind.Class),
new vscode.CompletionItem('for_each', vscode.CompletionItemKind.Property),
];

Expand Down

0 comments on commit ea31988

Please sign in to comment.