fix(core): update

This commit is contained in:
Philipp Kunz 2021-09-08 21:49:40 +02:00
parent 3b31f88b0c
commit 101533cddd
2 changed files with 3 additions and 3 deletions

View File

@ -35,12 +35,12 @@ tap.test('should find a query param', async (toolsArg) => {
expect(routeInfoArg.params.wow).to.equal('hello2'); expect(routeInfoArg.params.wow).to.equal('hello2');
expect(routeInfoArg.queryParams.aparam).to.equal('Yes'); expect(routeInfoArg.queryParams.aparam).to.equal('Yes');
console.log('Here is what queryParams looks like'); console.log('Here is what queryParams looks like');
console.log(JSON.stringify(routeInfoArg.queryParams)) console.log(JSON.stringify(routeInfoArg.queryParams));
done.resolve(); done.resolve();
}); });
testrouter.pushUrl('/myawesomeroute2/hello2?aparam=Yes'); testrouter.pushUrl('/myawesomeroute2/hello2?aparam=Yes');
await done.promise; await done.promise;
expect(window.location.href).to.equal('http://localhost:3007/myawesomeroute2/hello2?aparam=Yes'); expect(window.location.href).to.equal('http://localhost:3007/myawesomeroute2/hello2?aparam=Yes');
}) });
tap.start(); tap.start();