Skip to content

Commit 3bd10ac

Browse files
authored
test: fix integration tests to tolerate slight label changes (#1599)
1 parent c9df748 commit 3bd10ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration/lsp/ivy_spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ describe('Angular Ivy language server', () => {
180180
}))!;
181181
expect(response).not.toBeNull();
182182
expect(response.signatures.length).toEqual(1);
183-
expect(response.signatures[0].label).toEqual('(): string');
183+
expect(response.signatures[0].label).toContain('(): string');
184184
});
185185

186186
it('should show signature help with multiple arguments', async () => {
@@ -203,7 +203,7 @@ describe('Angular Ivy language server', () => {
203203
expect(response).not.toBeNull();
204204
expect(response.signatures.length).toEqual(1);
205205
expect(response.signatures[0].label)
206-
.toEqual('(from: number, length?: number | undefined): string');
206+
.toContain('(from: number, length?: number | undefined): string');
207207
expect(response.signatures[0].parameters).not.toBeUndefined();
208208
expect(response.activeParameter).toBe(1);
209209

0 commit comments

Comments
 (0)