@@ -25,8 +25,7 @@ describe('components:loader', () => {
2525 expect ( code . replace ( / \t / g, ' ' ) ) . toMatchInlineSnapshot ( `
2626 "import __nuxt_component_0 from "/components/MyComponent.vue";
2727 import { Fragment, createElementBlock, createVNode, defineAsyncComponent, openBlock, resolveComponent, unref } from "vue";
28-
29- //#region ../../../../../pages/index.vue
28+ //#region ../../../../../../pages/index.vue
3029 const __nuxt_component_0_lazy = defineAsyncComponent(() => import("/components/MyComponent.vue").then((c) => c.default || c));
3130 const _sfc_main = {
3231 __name: "index",
@@ -45,7 +44,6 @@ describe('components:loader', () => {
4544 };
4645 }
4746 };
48-
4947 //#endregion
5048 export { _sfc_main as default };"
5149 ` )
@@ -95,8 +93,7 @@ function _tracer(line, column, vnode) { return _tracerRecordPosition("app.vue",
9593 expect ( code . replace ( / \t / g, ' ' ) ) . toMatchInlineSnapshot ( `
9694 "import __nuxt_component_0 from "/components/MyComponent.vue";
9795 import { createVNode, defineAsyncComponent, defineComponent, resolveComponent } from "vue";
98-
99- //#region ../../../../../pages/about.tsx
96+ //#region ../../../../../../pages/about.tsx
10097 const __nuxt_component_0_lazy = defineAsyncComponent(() => import("/components/MyComponent.vue").then((c) => c.default || c));
10198 var about_default = /* @__PURE__ */ defineComponent({ setup() {
10299 const NamedComponent = __nuxt_component_0;
@@ -107,7 +104,6 @@ function _tracer(line, column, vnode) { return _tracerRecordPosition("app.vue",
107104 createVNode(NamedComponent, null, null)
108105 ]);
109106 } });
110-
111107 //#endregion
112108 export { about_default as default };"
113109 ` )
0 commit comments