Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Troubleshooting Vitest

Troubleshooting Vitest integration with Currents

If you are experiencing issues with reporting Vitest results, please collect more information about the failure and submit a support request via our support channels.

1. Collecting Environment Information

Please collect the following information to help us effectively debug the problem:

  • The associated dashboard Run URL

  • The JUnit XML file produced by Vitest

  • Your setup method and configuration files

  • The exact commands used to run vitest and currents run upload

  • Environment information (use the command below)

Use the following command to print information about your CI environment

npx envinfo --system --binaries --browsers --npmPackages --duplicates --npmGlobalPackages

2. Activate Debug Mode

Pass --debug to currents run upload, or set CURRENTS_DEBUG=true, to print detailed information about the conversion and upload process.

3. Common Issues

For a run that doesn't show up in Currents, see Missing Runs.

For more details on how to troubleshoot Vitest tests, refer to their documentation.

Last updated

Was this helpful?