diff --git a/main.js b/main.js new file mode 100644 index 0000000000000000000000000000000000000000..f0074dad9eea4b5c5c77983f2edc82d904b21eb7 --- /dev/null +++ b/main.js @@ -0,0 +1,10 @@ +import App from './App' + +import { createSSRApp } from 'vue' +export function createApp() { + const app = createSSRApp(App) + + return { + app + } +} \ No newline at end of file diff --git a/pages/index/basicTest.test.js b/pages/index/basicTest.test.js index b0539ee3782fb7f0ff48f14ad62cbc5d3522a897..35a3c6782ec547403350f5cc6cdf695b6b79769e 100644 --- a/pages/index/basicTest.test.js +++ b/pages/index/basicTest.test.js @@ -3,7 +3,7 @@ const ERR_RE = /expected:<(.*)> but was:<(.*)>/ let result; beforeAll(async () => { - await program.reLaunch('/pages/test/index') + await program.reLaunch('/pages/index/basicTest') page = await program.currentPage() await page.waitFor(3000); const data = await page.data();