hello
'); expect(A).not.to.have.been.called; @@ -303,18 +304,18 @@ describe('Router', () => { expect(B).to.have.been.calledWith({ path: '/b', searchParams: {}, pathParams: {} }); B.resetHistory(); - loc.route('/c'); - loc.route('/c?1'); - loc.route('/c'); + navigation.navigate('/c'); + navigation.navigate('/c?1'); + navigation.navigate('/c'); expect(scratch).to.have.property('innerHTML', 'hello
'); expect(B).not.to.have.been.called; await sleep(1); - loc.route('/c'); - loc.route('/c?2'); - loc.route('/c'); + navigation.navigate('/c'); + navigation.navigate('/c?2'); + navigation.navigate('/c'); expect(scratch).to.have.property('innerHTML', 'hello
'); // We should never re-invoke while loadinghello
'); @@ -342,7 +343,7 @@ describe('Router', () => { A.resetHistory(); B.resetHistory(); - loc.route('/'); + navigation.navigate('/'); await sleep(1); expect(scratch).to.have.property('innerHTML', 'hello
'); @@ -386,21 +387,21 @@ describe('Router', () => { expect(renderRefCount).to.equal(2); renderRefCount = 0; - loc.route('/b/a'); + navigation.navigate('/b/a'); await sleep(10); expect(scratch).to.have.property('innerHTML', '