\n \u003C/template>\n \u003Cv-list v-model:selected=\"selected\" selectable density=\"default\" max-height=\"40vh\" select-strategy=\"leaf\">\n \u003Ctemplate v-for=\"item in items\" :key=\"item.title\">\n \u003Cv-list-item>\n {{ item.title }}\n \u003C/v-list-item>\n \u003C/template>\n \u003C/v-list>\n \u003C/v-menu>\n\u003C/template>\n\n\u003Cscript lang=\"ts\">\nimport { defineComponent, reactive, ref } from 'vue'\n\nexport default defineComponent({\n name: 'AppTestComponent',\n setup() {\n const selected = ref([])\n const menuShow = ref(false)\n return {\n menuShow,\n selected,\n }\n },\n computed: {\n items() {\n return [\n {\n title: 'My Title',\n },\n ]\n },\n },\n})\n\u003C/script>\n```\n\ntest\n\n```typescript\n\nimport { describe, expect, test } from 'vitest'\nimport { mountSuspended } from '@nuxt/test-utils/runtime'\nimport AppTestComponent from '~/components/AppTestComponent.vue'\nimport { mount } from '@vue/test-utils'\nimport { VList } from 'vuetify/components/VList'\n\ndescribe('AppTestComponent', () => {\n test('renders', async () => {\n const component = mount(AppTestComponent)\n\n await component.find('button').trigger('click')\n const listContent = component.findComponent(VList).html()\n expect(listContent).toContain('My Title')\n })\n test('will fail', async () => {\n const component = await mountSuspended(AppTestComponent)\n\n await component.find('button').trigger('click')\n const listContent = component.findComponent(VList).html()\n expect(listContent).toContain('My Title')\n })\n})\n\n```\n\n\n### Describe the bug\n\n\nWhen testing Vuetify components with `mountSuspended` from `@nuxt/test-utils/runtime`, I discovered that ref values are not properly unwrapped before being passed to components.\n\nSpecifically, when mounting Vuetify's `VMenu` or `VList` components, props like `modelValue` (for VMenu) or `selected` (for VList) receive the actual ref object instead of the ref's value. This behavior differs from Vue Test Utils' standard `mount` function, which correctly unwraps ref values.\n\n## Reproduction Steps\n\nThe issue occurs when:\n1. Using `mountSuspended` from `@nuxt/test-utils/runtime`\n2. Testing components created with `defineComponent()`\n3. Passing refs as props to Vuetify components from `setup()`\n\nInterestingly, components using `\u003Cscript setup>` syntax work correctly.\n\n## Error Details\n\nThe error occurs in Vuetify's internal code when it tries to iterate over what it expects to be an array value but receives a ref object instead:\n\n```\nTypeError: (v || []) is not iterable\n ❯ Object.in node_modules/vuetify/src/composables/nested/selectStrategies.ts:56:25\n ❯ transformIn node_modules/vuetify/src/composables/nested/nested.ts:184:33\n ❯ ComputedRefImpl.get [as fn] node_modules/vuetify/src/composables/proxiedModel.ts:53:14\n ❯ refreshComputed node_modules/@vue/reactivity/dist/reactivity.cjs.js:384:28\n ❯ ComputedRefImpl.value node_modules/@vue/reactivity/dist/reactivity.cjs.js:1625:5\n ❯ ComputedRefImpl.fn node_modules/vuetify/src/composables/nested/nested.ts:356:53\n ❯ refreshComputed node_modules/@vue/reactivity/dist/reactivity.cjs.js:384:28\n ❯ ComputedRefImpl.value node_modules/@vue/reactivity/dist/reactivity.cjs.js:1625:5\n ❯ ComputedRefImpl.fn node_modules/vuetify/src/components/VList/VListItem.tsx:141:105\n ❯ refreshComputed node_modules/@vue/reactivity/dist/reactivity.cjs.js:384:28\n```\n\n## Investigation Findings\n\nWhen debugging the Vuetify components by placing breakpoints in their setup functions, I observed that:\n- With `@vue/test-utils` mount: Props contain the actual values of refs\n- With `@nuxt/test-utils` mountSuspended: Props contain the ref objects themselves\n\nI suspect this is related to how `mountSuspended` handles the return value of `setup()` when using `defineComponent()`, failing to properly unwrap reactive references before passing them as props.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[2870],{"name":2871,"color":2872},"pending triage","5D08F5",1199,"test-utils","Component props are passed as ref instead of refs value when using defineComponent()","2025-03-20T22:07:30Z","https://github.com/nuxt/test-utils/issues/1199",0.7408893,{"description":2880,"labels":2881,"number":2885,"owner":2860,"repository":2886,"state":2887,"title":2888,"updated_at":2889,"url":2890,"score":2891},"",[2882],{"name":2883,"color":2884},"bug","ff281a",438,"nuxt.com","closed","File created history is not refreshed after commit","2022-05-02T16:38:01Z","https://github.com/nuxt/nuxt.com/issues/438",0.6775573,{"description":2893,"labels":2894,"number":2885,"owner":2860,"repository":2861,"state":2887,"title":2896,"updated_at":2897,"url":2898,"score":2891},"### 📚 Is your documentation request related to a problem?\n\nThe example in the script registry docs for umami destructures track from the umami script but when attempting the same in my project, typescript complains that the umami script does not export track. In order to get it working I had to destructure proxy instead and use proxy.track(). \n\n### 🔍 Where should you find it?\n\n_No response_\n\n### ℹ️ Additional context\n\n_No response_",[2895],{"name":2857,"color":2858},"Non existent property listed in umami docs","2025-03-26T08:51:36Z","https://github.com/nuxt/scripts/issues/438",{"description":2900,"labels":2901,"number":2885,"owner":2860,"repository":2874,"state":2887,"title":2902,"updated_at":2903,"url":2904,"score":2891},"Update e2e section to use `@nuxt/test-utils`\r\n\r\nhttps://nuxtjs.org/guide/development-tools#end-to-end-testing",[],"update e2e section in nuxtjs.org","2023-12-02T00:13:11Z","https://github.com/nuxt/test-utils/issues/438",{"description":2880,"labels":2906,"number":2910,"owner":2860,"repository":2886,"state":2887,"title":2911,"updated_at":2912,"url":2913,"score":2914},[2907],{"name":2908,"color":2909},"enhancement","1ad6ff",178,"Handle image upload on draft when clicking on `upload` button","2023-02-15T12:31:19Z","https://github.com/nuxt/nuxt.com/issues/178",0.6993555,{"description":2880,"labels":2916,"number":56,"owner":2860,"repository":2886,"state":2887,"title":2918,"updated_at":2919,"url":2920,"score":2921},[2917],{"name":2908,"color":2909},"'last updated at' timestamp at the bottom of docs pages","2023-10-10T14:45:10Z","https://github.com/nuxt/nuxt.com/issues/1219",0.71068716,{"description":2923,"labels":2924,"number":56,"owner":2860,"repository":2874,"state":2887,"title":2926,"updated_at":2927,"url":2928,"score":2921},"### Environment\n\n- Operating System: `Darwin`\n- Node Version: `v20.18.0`\n- Nuxt Version: `3.16.0`\n- CLI Version: `3.22.5`\n- Nitro Version: `2.11.5`\n- Package Manager: `npm@10.8.2`\n- Builder: `-`\n- User Config: `alias`, `app`, `compatibilityDate`, `components`, `css`, `devtools`, `devServer`, `experimental`, `features`, `hooks`, `imports`, `modules`, `dayjs`, `googleFonts`, `gtm`, `htmlValidator`, `lazyLoad`, `opentelemetry`, `runtimeConfig`, `sourcemap`, `typescript`, `vite`\n- Runtime Modules: `@andromeda/nuxt@1.0.13`, `@nuxt/eslint@0.3.13`, `@nuxtjs/google-fonts@3.2.0`, `@nuxtjs/html-validator@2.1.0`, `@pinia/nuxt@0.5.5`, `@zadigetvoltaire/nuxt-gtm@0.0.13`, `dayjs-nuxt@2.1.11`, `nuxt-clarity-analytics@0.0.9`, `nuxt-lazy-load@3.0.4`, `nuxt3-leaflet@1.0.13`, `vue-recaptcha/nuxt@3.0.0-alpha.6`\n- Build Modules: `-`\n\n### Reproduction\n\n- Create a test with `renderSuspended`;\n- Run the test with `--run` flag;\n- See `[Vue warn]: Non-function value encountered for default slot. Prefer function slots for better performance.`;\n\n### Describe the bug\n\nThe renderSuspended `WrapperComponent` is rendering the default slot without calling with a function.\n\nhttps://github.com/nuxt/test-utils/blob/49b9a65921466e30f0b96caef03e0449009c66c0/src/runtime-utils/render.ts#L118\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[2925],{"name":2871,"color":2872},"Non-function value encountered for default slot when using renderSuspended","2025-04-08T16:48:14Z","https://github.com/nuxt/test-utils/issues/1219",{"description":2880,"labels":2930,"number":2931,"owner":2860,"repository":2886,"state":2887,"title":2932,"updated_at":2933,"url":2934,"score":2935},[],146,"Support draft system and merge with tree","2022-03-11T16:20:18Z","https://github.com/nuxt/nuxt.com/issues/146",0.72771007,{"description":2880,"labels":2937,"number":2931,"owner":2860,"repository":2861,"state":2887,"title":2938,"updated_at":2939,"url":2940,"score":2935},[],"https://github.com/nuxt/scripts/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen+label%3Apre-announce++label%3Abug","2024-07-13T08:17:16Z","https://github.com/nuxt/scripts/issues/146",["Reactive",2942],{},["Set"],["ShallowReactive",2945],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fykhPZPG_nwXVyF6dXp-8tG0JUA6388q5c6e_oMZmQKo":-1},"/nuxt/nuxt.com/211"]