diff --git a/docs/guide/migration.md b/docs/guide/migration.md index d0c40059e..a6fcfa929 100644 --- a/docs/guide/migration.md +++ b/docs/guide/migration.md @@ -442,7 +442,7 @@ export default defineConfig({ In Vitest 4.0 snapshots that include custom elements will print the shadow root contents. To restore the previous behavior, set the [`printShadowRoot` option](/config/#snapshotformat) to `false`. ```js{15-22} -// before Vite 4.0 +// before Vitest 4.0 exports[`custom element with shadow root 1`] = ` "