fix(core): update
This commit is contained in:
parent
3b31f88b0c
commit
101533cddd
@ -35,12 +35,12 @@ tap.test('should find a query param', async (toolsArg) => {
|
||||
expect(routeInfoArg.params.wow).to.equal('hello2');
|
||||
expect(routeInfoArg.queryParams.aparam).to.equal('Yes');
|
||||
console.log('Here is what queryParams looks like');
|
||||
console.log(JSON.stringify(routeInfoArg.queryParams))
|
||||
console.log(JSON.stringify(routeInfoArg.queryParams));
|
||||
done.resolve();
|
||||
});
|
||||
testrouter.pushUrl('/myawesomeroute2/hello2?aparam=Yes');
|
||||
await done.promise;
|
||||
expect(window.location.href).to.equal('http://localhost:3007/myawesomeroute2/hello2?aparam=Yes');
|
||||
})
|
||||
});
|
||||
|
||||
tap.start();
|
||||
|
Loading…
Reference in New Issue
Block a user