Open Issues Need Help
View All on GitHub The parameter name `it` causes auto import to incorrectly import vitest about 2 months ago
AI Summary: An auto-import feature incorrectly imports `it` from Vitest when a function parameter in a local library is named `it`. This leads to a runtime error because Vitest's `it` is imported outside of a test environment, indicating the auto-import mechanism is too aggressive or lacks proper scope awareness.
Complexity:
3/5
bug good first issue pr welcome
Auto import APIs on-demand for Vite, Webpack and Rollup
TypeScript
#rollup-plugin#unplugin#vite-plugin#webpack-plugin