Cédric Exbrayat

Results 126 comments of Cédric Exbrayat

@octref Thank you for taking the time to do this! It looks like it also goes through `node_modules` resulting in false positive for a Vue CLI project that uses the...

Reading through commit https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/commit/2cfe45f567e30a56dea4cb5907a0d47e62dae644, I realize that your example of script setup component is inaccurate: `script setup` component have a completely different syntax, with no export. See https://github.com/cexbrayat/no-default-export/blob/master/src/App.vue for an...

cc @johnsoncodehk (developer of Volar) and @pikax (who knows Vue TypeScript arcane better than me) as they may have an opinion on what would be best here

TBH I'm not sure I know enough to help here, and this might be more complicated than you expect. `script setup` components have macros like `defineProps` that are available without...

@sevilyilmaz Thanks for the reproduction 👌 It sounds like a vue-jest issue to me. @lmiller1990 WDYT?

@sheremet-va Thanks for looking into this 🙏 To be honest I don't really get all these subtleties. Do you think this is something fixable in vitest so v0.23 works as...

@sheremet-va You're the best, thanks!

@sheremet-va sadly, it looks like v0.23.1 does not fix the issue. See https://github.com/vuejs/test-utils/pull/1757

For anyone interested, the upstream issue is https://github.com/vuejs/core/issues/6602