\n \u003C/template>\n \u003C/USelect>\n \u003C/UFormField>```\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[2941,2943],{"name":2900,"color":2942},"d73a4a",{"name":2888,"color":2889},3148,"V3 In Select slot trailing","2025-01-25T13:13:41Z","https://github.com/nuxt/ui/issues/3148",0.75103545,{"description":2950,"labels":2951,"number":2955,"owner":2875,"repository":2891,"state":2904,"title":2956,"updated_at":2957,"url":2958,"score":2959},"### Description\n\ncan you add Scroll-area component ? like the one in shadcn \"https://ui.shadcn.com/docs/components/scroll-area\"\n\n### Additional context\n\n_No response_",[2952,2954],{"name":2866,"color":2953},"a2eeef",{"name":2888,"color":2889},3425,"Scroll-area","2025-03-08T12:22:25Z","https://github.com/nuxt/ui/issues/3425",0.7585415,{"description":2961,"labels":2962,"number":2970,"owner":2875,"repository":2971,"state":2904,"title":2972,"updated_at":2973,"url":2974,"score":2975},"### Environment\r\n\r\n\r\n**package.json**\r\n```\r\n{\r\n \"name\": \"z1-pnx-certportal\",\r\n \"private\": true,\r\n \"scripts\": {\r\n \"ci\": \"pnpm i --frozen-lockfile\",\r\n \"dev\": \"nuxt dev --dotenv .env.dev\",\r\n \"build:dev\": \"nuxt build --dotenv .env.dev\",\r\n \"build:staging\": \"nuxt build --dotenv .env.staging\",\r\n \"build:production\": \"nuxt build --dotenv .env.prod\",\r\n \"generate\": \"nuxt generate\",\r\n \"preview\": \"nuxt preview\",\r\n \"postinstall\": \"nuxt prepare\",\r\n \"lint:js\": \"eslint --ext \\\".ts,.vue\\\" --ignore-path .gitignore .\",\r\n \"lint:prettier\": \"prettier --check .\",\r\n \"lint\": \"pnpm lint:js && pnpm lint:prettier\",\r\n \"lintfix\": \"prettier --write --list-different . && pnpm lint:js --fix\",\r\n \"test\": \"vitest --run --reporter verbose --globals\",\r\n \"test:watch\": \"vitest --reporter verbose --globals\"\r\n },\r\n \"devDependencies\": {\r\n \"@nuxt/test-utils\": \"3.9.0\",\r\n \"@nuxtjs/eslint-config-typescript\": \"12.1.0\",\r\n \"@nuxtjs/i18n\": \"8.0.0-rc.4\",\r\n \"@nuxtjs/turnstile\": \"0.6.3\",\r\n \"@types/node\": \"20.10.5\",\r\n \"@types/node-forge\": \"1.3.10\",\r\n \"@types/vue-tel-input\": \"2.1.6\",\r\n \"@typescript-eslint/parser\": \"6.0.0\",\r\n \"@vueuse/core\": \"10.7.0\",\r\n \"@vueuse/nuxt\": \"10.7.0\",\r\n \"autoprefixer\": \"10.4.16\",\r\n \"eslint\": \"8.43.0\",\r\n \"eslint-config-prettier\": \"9.0.0\",\r\n \"eslint-plugin-prettier\": \"5.0.1\",\r\n \"eslint-plugin-vitest\": \"0.3.18\",\r\n \"happy-dom\": \"12.9.1\",\r\n \"libphonenumber-js\": \"1.10.52\",\r\n \"nuxt\": \"3.8.2\",\r\n \"postcss\": \"8.4.32\",\r\n \"prettier\": \"3.1.1\",\r\n \"sass\": \"1.69.5\",\r\n \"sass-loader\": \"13.3.2\",\r\n \"tailwindcss\": \"3.3.7\",\r\n \"typescript\": \"5.3.3\",\r\n \"vite-svg-loader\": \"5.0.1\",\r\n \"vitest\": \"1.0.4\",\r\n \"vitest-environment-nuxt\": \"^1.0.0\",\r\n \"vue-tel-input\": \"8.1.4\"\r\n },\r\n \"dependencies\": {\r\n \"@pinia/nuxt\": \"0.5.1\",\r\n \"@types/got\": \"9.6.12\",\r\n \"dotenv\": \"16.3.1\",\r\n \"got\": \"14.0.0\",\r\n \"hpagent\": \"1.2.0\",\r\n \"node-forge\": \"1.3.1\",\r\n \"pinia\": \"2.1.7\",\r\n \"print-js\": \"1.6.0\",\r\n \"vue\": \"3.3.12\"\r\n }\r\n}\r\n```\r\n\r\n**nuxt.config.ts**\r\n```\r\nexport default defineNuxtConfig({\r\n...\r\n modules: ['@vueuse/nuxt', '@nuxtjs/i18n', '@pinia/nuxt', '@nuxt/test-utils/module', '@nuxtjs/turnstile'],\r\n testUtils: {}\r\n })\r\n```\r\n \r\n **vitest.config.mjs**\r\n```\r\nimport { defineVitestConfig } from '@nuxt/test-utils/config'\r\n\r\nexport default defineVitestConfig({\r\n test: {\r\n environment: 'nuxt'\r\n }\r\n});\r\n```\r\n\r\n**turnstile.test.ts**\r\n\r\n```\r\nimport { it, describe, expect, vi, afterEach } from 'vitest';\r\nimport { mockNuxtImport } from '@nuxt/test-utils/runtime';\r\nimport mockTurnstileResponse from './mocks/mockTurnstileResponse';\r\nimport verifyResponse from './test-data/turnstile-verify-response.json';\r\nimport { validateTurnstileToken } from '@/composables/turnstile';\r\n\r\nmockNuxtImport('useFetch', () => {\r\n return (token:string) => mockTurnstileResponse(token);\r\n});\r\n\r\ndescribe('validateTurnstileToken', () => {\r\n afterEach(() => {\r\n vi.resetAllMocks();\r\n });\r\n\r\n it('should validate a token successfully', async () => {\r\n const result = await validateTurnstileToken('validToken');\r\n expect(result).toBe(verifyResponse);\r\n });\r\n\r\n it('should throw an error when token is not provided', async () => {\r\n await expect(validateTurnstileToken('')).rejects.toThrow('Token not provided.');\r\n });\r\n\r\n it('should throw an error when useFetch returns an error', async () => {\r\n const mockErrorMessage = '';\r\n mockTurnstileResponse.mockImplementation(_token => { return { data: { value: null }, error: { value: mockErrorMessage } }; });\r\n\r\n await expect(validateTurnstileToken('someToken')).rejects.toThrow(mockErrorMessage);\r\n });\r\n\r\n it('should throw an error for unexpected response from useFetch', async () => {\r\n mockTurnstileResponse.mockImplementation(_token => { return { data: { value: null }, error: { value: null } }; });\r\n\r\n await expect(validateTurnstileToken('unexpectedToken')).rejects.toThrow(\r\n 'Unexpected error: Response data and error are both undefined.'\r\n );\r\n });\r\n});\r\n```\r\n\r\n\r\n_EDIT add:_ \r\nmockTurnstileResponse.ts\r\n```\r\nimport { vi } from 'vitest';\r\nimport verifyResponse from '../test-data/turnstile-verify-response.json';\r\nimport type { MockTurnstileValidationResponse } from '@/composables/interfaces';\r\n\r\nconst mockTurnstileResponse = vi.fn((_token):MockTurnstileValidationResponse => {\r\n return {\r\n data: {\r\n value: verifyResponse\r\n },\r\n error: { value: null }\r\n };\r\n});\r\n```\r\n\r\n\r\n### Reproduction\r\n\r\n1. Migrate from nuxt-vitest to test-utils v3.9.0.\r\n2. Run tests using the command pnpm test.\r\nExpected Behavior\r\nTests should run successfully without any import resolution issues.\r\n\r\nActual Behavior\r\nEncountered an error during test execution with the mentioned import resolution problem.\r\n\r\n\u003Cimg width=\"984\" alt=\"Screenshot 2023-12-20 at 11 13 01\" src=\"https://github.com/nuxt/test-utils/assets/89916568/fb5f4df0-a855-4af7-862f-72821c2c2bb3\">migrating from nuxt-vitest to test-utils v3.9.0\r\n\r\n### Describe the bug\r\n\r\nAfter migrating from nuxt-vitest to test-utils v3.9.0, I encountered an error when running tests. The error message suggests a problem with resolving the @vue/test-utils import within the context of @nuxt/test-utils.\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[2963,2964,2967],{"name":2900,"color":2942},{"name":2965,"color":2966},"vitest-environment","b60205",{"name":2968,"color":2969},"needs reproduction","DE7793",667,"test-utils","Error: Could not resolve \"@vue/test-utils\" imported by \"@nuxt/test-utils\". Is it installed?","2023-12-20T18:31:27Z","https://github.com/nuxt/test-utils/issues/667",0.7693323,{"description":2977,"labels":2978,"number":2984,"owner":2875,"repository":2875,"state":2904,"title":2985,"updated_at":2986,"url":2987,"score":2988},"### Environment\n\n------------------------------\r\n- Operating System: `Darwin`\r\n- Node Version: `v16.17.0`\r\n- Nuxt Version: `3.0.0-rc.11`\r\n- Nitro Version: `0.5.4`\r\n- Package Manager: `yarn@1.22.19`\r\n- Builder: `vite`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-bpttlb?file=app.vue\n\n### Describe the bug\n\nUnless I am missunderstanding something the purpose of the `immediate` flag to allow the create of the `useFecth` and then beable to call it at a later time using the `execute()` function. It would seem that the flag is being complete ignored and the request is being made immediately.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2979,2980,2981],{"name":2917,"color":2918},{"name":2900,"color":2942},{"name":2982,"color":2983},"🔨 p3-minor","FBCA04",14982,"`useFetch()` option `immediate = false` does't not stop the request from being made immediately","2023-01-19T17:43:24Z","https://github.com/nuxt/nuxt/issues/14982",0.7733935,{"description":2990,"labels":2991,"number":2994,"owner":2875,"repository":2903,"state":2904,"title":2995,"updated_at":2996,"url":2997,"score":2998},"Should be sent on `create` and `delete` webhooks",[2992],{"name":2866,"color":2993},"1ad6ff",386,"[Live collab] Socket for branches","2022-04-26T13:32:01Z","https://github.com/nuxt/nuxt.com/issues/386",0.78231645,["Reactive",3000],{},["Set"],["ShallowReactive",3003],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fCCK_JCFgGKJFfzexHZZFARQXDVU8TsFhah653HKWF0c":-1},"/nuxt/test-utils/501"]