fix(testing): remove the toThrowErrorWith
matcher (jasmine has toThrowError
)
BREAKING CHANGE: Before: expect(...).toThrowErrorWith(msg); After: expect(...).toThrowError(msg);
This commit is contained in:
@ -262,7 +262,7 @@ export function main() {
|
||||
RootHostCmp, new Route({path: '/first/...', component: DummyParentCmp, name: 'First'}));
|
||||
expect(() => {
|
||||
registry.generate(['First'], []);
|
||||
}).toThrowError('Link "["First"]" does not resolve to a terminal instruction.');
|
||||
}).toThrowError(/Link "\["First"\]" does not resolve to a terminal instruction./);
|
||||
});
|
||||
|
||||
it('should match matrix params on child components and query params on the root component',
|
||||
|
Reference in New Issue
Block a user