diff --git a/packages/vue/src/generators/application/__snapshots__/application.spec.ts.snap b/packages/vue/src/generators/application/__snapshots__/application.spec.ts.snap index d91772ccda..2ed6146f20 100644 --- a/packages/vue/src/generators/application/__snapshots__/application.spec.ts.snap +++ b/packages/vue/src/generators/application/__snapshots__/application.spec.ts.snap @@ -177,20 +177,7 @@ exports[`application generator should set up project correctly with given option " `; -exports[`application generator should set up project correctly with given options 5`] = ` -"import { describe, it, expect } from 'vitest'; - -import { mount } from '@vue/test-utils'; -import App from '../App.vue'; - -describe('App', () => { - it('renders properly', () => { - const wrapper = mount(App, {}); - expect(wrapper.text()).toContain('Welcome test 👋'); - }); -}); -" -`; +exports[`application generator should set up project correctly with given options 5`] = `null`; exports[`application generator should set up project correctly with given options 6`] = ` [ @@ -212,9 +199,9 @@ exports[`application generator should set up project correctly with given option "test/.eslintrc.json", "test/index.html", "test/project.json", - "test/src/__tests__/App.spec.ts", - "test/src/App.vue", - "test/src/components/NxWelcome.vue", + "test/src/app/App.spec.ts", + "test/src/app/App.vue", + "test/src/app/NxWelcome.vue", "test/src/main.ts", "test/src/styles.css", "test/tsconfig.app.json", diff --git a/packages/vue/src/generators/application/files/common/src/__tests__/App.spec.ts.template b/packages/vue/src/generators/application/files/common/src/app/App.spec.ts.template similarity index 91% rename from packages/vue/src/generators/application/files/common/src/__tests__/App.spec.ts.template rename to packages/vue/src/generators/application/files/common/src/app/App.spec.ts.template index 863050a51b..e146c1f6ef 100644 --- a/packages/vue/src/generators/application/files/common/src/__tests__/App.spec.ts.template +++ b/packages/vue/src/generators/application/files/common/src/app/App.spec.ts.template @@ -2,7 +2,7 @@ import { describe, it, expect } from 'vitest' <% } %> import { mount } from '@vue/test-utils' -import App from '../App.vue'; +import App from './App.vue'; describe('App', () => { it('renders properly', () => { diff --git a/packages/vue/src/generators/application/files/common/src/App.vue.template b/packages/vue/src/generators/application/files/common/src/app/App.vue.template similarity index 94% rename from packages/vue/src/generators/application/files/common/src/App.vue.template rename to packages/vue/src/generators/application/files/common/src/app/App.vue.template index 37c59f5b84..17555be9b4 100644 --- a/packages/vue/src/generators/application/files/common/src/App.vue.template +++ b/packages/vue/src/generators/application/files/common/src/app/App.vue.template @@ -1,8 +1,9 @@