diff --git a/package.json b/package.json index 8268a00664..0e8c2d084d 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "test:fixtures:webpack": "TEST_BUILDER=webpack pnpm test:fixtures", "test:runtime": "vitest -c vitest.nuxt.config.ts --coverage", "test:types": "pnpm --filter './test/fixtures/**' test:types", - "test:unit": "vitest run --dir packages --coverage", + "test:unit": "vitest run packages/ --coverage", "typecheck": "tsc --noEmit" }, "resolutions": { diff --git a/packages/nuxt/test/app.test.ts b/packages/nuxt/test/app.test.ts index bc2c193f64..ed92b85e7a 100644 --- a/packages/nuxt/test/app.test.ts +++ b/packages/nuxt/test/app.test.ts @@ -43,6 +43,10 @@ describe('resolveApp', () => { "mode": "client", "src": "/packages/nuxt/src/app/plugins/payload.client.ts", }, + { + "mode": "client", + "src": "/packages/nuxt/src/app/plugins/check-outdated-build.client.ts", + }, { "mode": "server", "src": "/packages/nuxt/src/app/plugins/revive-payload.server.ts", @@ -69,10 +73,6 @@ describe('resolveApp', () => { "mode": "client", "src": "/packages/nuxt/src/app/plugins/chunk-reload.client.ts", }, - { - "mode": "client", - "src": "/packages/nuxt/src/app/plugins/check-outdated-build.client.ts", - }, ], "rootComponent": "/packages/nuxt/src/app/components/nuxt-root.vue", "templates": [], diff --git a/packages/nuxt/test/islandTransform.test.ts b/packages/nuxt/test/islandTransform.test.ts index 54f3ee874b..1ce358d5da 100644 --- a/packages/nuxt/test/islandTransform.test.ts +++ b/packages/nuxt/test/islandTransform.test.ts @@ -202,11 +202,11 @@ describe('islandTransform - server and island components', () => { - + -