fix(Router): fix checking for object intersection
This commit is contained in:

committed by
Matias Niemelä

parent
7dc12b93fe
commit
16922655ca
@ -102,8 +102,8 @@ describe('UrlTree', () => {
|
||||
});
|
||||
|
||||
it('should return true when container contains containees queryParams', () => {
|
||||
const t1 = serializer.parse('/one/two?test=1&page=5');
|
||||
const t2 = serializer.parse('/one/two?test=1');
|
||||
const t1 = serializer.parse('/one/two?test=1&u=5');
|
||||
const t2 = serializer.parse('/one/two?u=5');
|
||||
expect(containsTree(t1, t2, false)).toBe(true);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user