File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ describe('Angular Ivy language server', () => {
180
180
} ) ) ! ;
181
181
expect ( response ) . not . toBeNull ( ) ;
182
182
expect ( response . signatures . length ) . toEqual ( 1 ) ;
183
- expect ( response . signatures [ 0 ] . label ) . toEqual ( '(): string' ) ;
183
+ expect ( response . signatures [ 0 ] . label ) . toContain ( '(): string' ) ;
184
184
} ) ;
185
185
186
186
it ( 'should show signature help with multiple arguments' , async ( ) => {
@@ -203,7 +203,7 @@ describe('Angular Ivy language server', () => {
203
203
expect ( response ) . not . toBeNull ( ) ;
204
204
expect ( response . signatures . length ) . toEqual ( 1 ) ;
205
205
expect ( response . signatures [ 0 ] . label )
206
- . toEqual ( '(from: number, length?: number | undefined): string' ) ;
206
+ . toContain ( '(from: number, length?: number | undefined): string' ) ;
207
207
expect ( response . signatures [ 0 ] . parameters ) . not . toBeUndefined ( ) ;
208
208
expect ( response . activeParameter ) . toBe ( 1 ) ;
209
209
You can’t perform that action at this time.
0 commit comments