diff --git a/test/router.test.js b/test/router.test.js
index b188c41..0c43972 100644
--- a/test/router.test.js
+++ b/test/router.test.js
@@ -41,7 +41,6 @@ describe('Router', () => {
history.replaceState(null, null, '/');
});
-
it('should throw a clear error if the LocationProvider is missing', () => {
const Home = () =>
Home
;
@@ -968,12 +967,12 @@ describe('Router', () => {
expect(loc).to.deep.include({ url: '/foo', path: '/foo', searchParams: {} });
- navigation.back();
+ await navigation.back().finished;
await sleep(10);
expect(loc).to.deep.include({ url: '/', path: '/', searchParams: {} });
- navigation.forward();
+ await navigation.forward().finished;
await sleep(10);
expect(loc).to.deep.include({ url: '/foo', path: '/foo', searchParams: {} });