Skip to content

Commit

Permalink
fix: import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
megheaiulian committed Jun 21, 2022
1 parent 25fbfba commit 896a9f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"devDependencies": {
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@neovici/cfg": "github:Neovici/cfg#feat/typescript",
"@neovici/cfg": "^1.15.0",
"@open-wc/testing": "^2.5.16",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "^10.0.0",
Expand Down
6 changes: 3 additions & 3 deletions test/basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ suite('cosmoz-page-router', () => {
{
rule: /^\/$/u,
handle: () =>
import('../demo/views/home.js').then(() => createElement('demo-home')),
import('../stories/views/home.js').then(() => createElement('demo-home')),
},
{
rule: hashbang(/^\/view-1/u),
handle: () =>
import('../demo/views/view-1.js').then(() => createElement('view-1')),
import('../stories/views/view-1.js').then(() => createElement('view-1')),
},
{
rule: hashbang(/^\/param-reading-view/u),
handle: (result) =>
import('../demo/views/param-reading-view.js').then(() => {
import('../stories/views/param-reading-view.js').then(() => {
const entries = result.match.url?.searchParams?.entries(),
params = entries ? Object.fromEntries(entries) : {};
createElement('param-reading-view', params);
Expand Down

0 comments on commit 896a9f0

Please sign in to comment.