Skip to content

Setup overview

vitest-plugin-vis/setup provides the API to set up the plugin on the client side.

It provides the API you need in vitest.setup.ts.

When you import vitest-plugin-vis/setup, it augments expect and page to provide methods for visual testing: