I have found this to work:
vitest run <your_file> --coverage.enabled true --coverage.include=<your_file>