As described in this answer and in the docs. I've added the reference types for Vitest at the top of my Vite config file.
/// <reference types="vitest" />
Why am I still getting the TypeScript warning 'test' does not exist in type 'UserConfigExport'?