From 896a9f07f4ce20d9431091681b87e50e5c559f59 Mon Sep 17 00:00:00 2001 From: Meghea Iulian Date: Sun, 29 May 2022 22:14:55 +0300 Subject: [PATCH] fix: import paths --- package.json | 2 +- test/basic.test.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2fba045..d6c65e8 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/basic.test.ts b/test/basic.test.ts index bfa8b5c..84b16c2 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -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);