@chromatic-com/vitest 0.0.1 → 0.0.2-3b7efed-20260416102603

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/plugin.js +3 -1
  2. package/package.json +1 -1
package/dist/plugin.js CHANGED
@@ -4216,7 +4216,9 @@ function chromaticPlugin(userOptions = {}) {
4216
4216
  }
4217
4217
  }
4218
4218
  }
4219
- clean();
4219
+ if (!project.globalConfig.mergeReports) {
4220
+ clean();
4221
+ }
4220
4222
  if (!project.config.browser.enabled) {
4221
4223
  context.vitest.logger.warn(colors.bgYellow(colors.black(" chromatic ")), colors.yellow("Plugin is used in a non-browser context."));
4222
4224
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chromatic-com/vitest",
3
- "version": "0.0.1",
3
+ "version": "0.0.2-3b7efed-20260416102603",
4
4
  "description": "Chromatic Visual Regression Testing for Vitest",
5
5
  "repository": {
6
6
  "type": "git",