\n \u003Cdiv>\n \u003Cdiv\n id=\"test-wrapper\"\n >\n \u003Cp>\n Hello Vue 3\n \u003C/p>\n \u003C/div>\n \u003C/div>\n\u003C/body>\n```\n\nBut it looks like this:\n```vue\n\u003Cbody>\n \u003Cdiv\n data-v-app=\"\"\n id=\"__nuxt\"\n />\n \u003Cdiv>\n \u003Cdiv\n id=\"test-wrapper\"\n msg=\"Hello Vue 3\"\n >\n \u003Cp>\n Hello in component\n \u003C/p>\n \u003C/div>\n \u003C/div>\n\u003C/body>\n```\n\n### Additional context\n\nI tried solving the issue with no avail, I'm sorry I can not be of more help 😢 ",[1984],{"name":1985,"color":1986},"pending triage","5D08F5",1014,"nuxt","test-utils","open","Rerender from @testing-library/vue not working","2025-03-07T14:25:15Z","https://github.com/nuxt/test-utils/issues/1014",0.7287352,{"description":1996,"labels":1997,"number":1998,"owner":1988,"repository":1999,"state":2000,"title":2001,"updated_at":2002,"url":2003,"score":2004},"https://www.figma.com/file/OLlmzoVQ7FSBh4FJJORNpl/nuxt.com?node-id=2705%3A10848",[],188,"nuxt.com","closed","`Blog` section","2023-02-15T12:30:42Z","https://github.com/nuxt/nuxt.com/issues/188",0.61918145,{"description":2006,"labels":2007,"number":2008,"owner":1988,"repository":1999,"state":2000,"title":2009,"updated_at":2010,"url":2011,"score":2012},"https://www.figma.com/file/OLlmzoVQ7FSBh4FJJORNpl/nuxt.com?node-id=3737%3A48944",[],368,"`/showcases` page","2023-02-15T12:32:14Z","https://github.com/nuxt/nuxt.com/issues/368",0.6680672,{"description":2014,"labels":2015,"number":2008,"owner":1988,"repository":1989,"state":2000,"title":2016,"updated_at":2017,"url":2018,"score":2012},"",[],"detect nuxt.config.ts","2023-12-02T00:13:09Z","https://github.com/nuxt/test-utils/issues/368",{"description":2020,"labels":2021,"number":2022,"owner":1988,"repository":1999,"state":2000,"title":2023,"updated_at":2024,"url":2025,"score":2026},"https://www.figma.com/file/OLlmzoVQ7FSBh4FJJORNpl/nuxt.com?node-id=3736%3A46250",[],367,"`/integrations` page","2022-04-25T08:45:28Z","https://github.com/nuxt/nuxt.com/issues/367",0.67232686,{"description":2028,"labels":2029,"number":2022,"owner":1988,"repository":1989,"state":2000,"title":2030,"updated_at":2017,"url":2031,"score":2026},"Trying to get the test-utils to work, but after adding the preset, JEST simply won't run, saying that the test utils cannot be found.\r\n\r\nThis is straight from the docs. I've tried a bunch of different versions, and simply cannot get them to work. This is required (I think) in order to get the global function calls (such as definePageMeta) to work in tests.\r\n\r\n> ● Validation Error:\r\n>\r\n> Preset @nuxt/test-utils not found.\r\n>\r\n> Configuration Documentation:\r\n> https://jestjs.io/docs/configuration.html\r\n\r\nThe test utils are installed.\r\n\r\nAny ideas?",[],"Preset @nuxt/test-utils not found.","https://github.com/nuxt/test-utils/issues/367",{"description":2033,"labels":2034,"number":2035,"owner":1988,"repository":1999,"state":2000,"title":2036,"updated_at":2037,"url":2038,"score":2039},"https://www.figma.com/file/OLlmzoVQ7FSBh4FJJORNpl/%F0%9F%96%A5---nuxt.com?node-id=4854%3A42110",[],532,"[Community] Partner page","2023-02-15T12:32:29Z","https://github.com/nuxt/nuxt.com/issues/532",0.68291247,{"description":2041,"labels":2042,"number":2035,"owner":1988,"repository":1989,"state":2000,"title":2049,"updated_at":2050,"url":2051,"score":2039},"EDIT: the previous title of the issue was 'Error when running Nuxt: Failed to resolve import \"fsevents\"'\r\n\r\nWhenever I run `npm run dev` after doing the set-up from the README, I get this error:\r\n\r\n```\r\nFailed to resolve import \"fsevents\" from \"node_modules/.cache/vite/client/deps/chunk-CIY6OCOU.js?v=92df0d45\". Does the file exist?\r\n```\r\n\r\n`fsevents` is a module only relevant for Mac OS. Why am I getting this error on Linux? As soon as I undo the nuxt-vitest set-up, the error goes away again, and it only showed up for the first time after I added this module to my project. Here is my `vitest.config.js`:\r\n\r\n```\r\nimport path from 'path';\r\nimport { defineVitestConfig } from 'nuxt-vitest/config';\r\nimport Vue from '@vitejs/plugin-vue';\r\nimport Components from 'unplugin-vue-components/vite';\r\nimport AutoImport from 'unplugin-auto-import/vite';\r\n\r\nexport default defineVitestConfig({\r\n plugins: [\r\n Vue(),\r\n Components({\r\n dirs: ['components'],\r\n directoryAsNamespace: true,\r\n }),\r\n AutoImport({\r\n imports: ['vue'],\r\n }),\r\n ],\r\n test: {\r\n globals: true,\r\n environment: 'nuxt',\r\n },\r\n resolve: {\r\n alias: {\r\n '~': __dirname,\r\n '~~': path.resolve(__dirname, '../'),\r\n },\r\n },\r\n});\r\n```\r\n\r\nHere is my `nuxt.config.js`:\r\n\r\n```\r\nexport default defineNuxtConfig({\r\n ssr: true,\r\n modules: ['@pinia/nuxt', '@nuxtjs/tailwindcss'],\r\n css: ['~/assets/css/main.pcss', '@fortawesome/fontawesome-svg-core/styles.css', 'nuxt-vitest'],\r\n runtimeConfig: {\r\n public: {\r\n apiBase: process.env.API_BASE_URL || 'http://localhost:5000/api',\r\n },\r\n },\r\n telemetry: false,\r\n alias: {\r\n '~~': '..',\r\n },\r\n});\r\n```",[2043,2046],{"name":2044,"color":2045},"vitest-environment","b60205",{"name":2047,"color":2048},"needs reproduction","DE7793","What testing library to use with this environment?","2023-12-02T00:32:17Z","https://github.com/nuxt/test-utils/issues/532",{"description":2053,"labels":2054,"number":2055,"owner":1988,"repository":1999,"state":2000,"title":2056,"updated_at":2057,"url":2058,"score":2059},"https://www.figma.com/file/OLlmzoVQ7FSBh4FJJORNpl/nuxt.com?node-id=4452%3A42669",[],471,"[Company] About integration `/company`","2023-02-15T12:32:22Z","https://github.com/nuxt/nuxt.com/issues/471",0.6920019,{"description":2061,"labels":2062,"number":2055,"owner":1988,"repository":1989,"state":2000,"title":2063,"updated_at":2064,"url":2065,"score":2059},"[nuxt/components](https://github.com/nuxt/components) is not work in setupTest:\r\n\r\n```js\r\nsetupTest({\r\n config: {\r\n components: true // \u003C-- not work\r\n }\r\n });\r\n```",[],"nuxt/components is not work in setupTest","2023-12-02T00:13:11Z","https://github.com/nuxt/test-utils/issues/471",["Reactive",2067],{},["Set"],["ShallowReactive",2070],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"VinymII6UNcDFF_ppQlcbIb7HPRFphX3jPiwTjIuC0c":-1},"/nuxt/nuxt.com/189"]