fix(core): update
This commit is contained in:
parent
3b31f88b0c
commit
101533cddd
@ -39,4 +39,4 @@
|
|||||||
"browserslist": [
|
"browserslist": [
|
||||||
"last 1 chrome versions"
|
"last 1 chrome versions"
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user