@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.
- package/dist/plugin.js +3 -1
- package/package.json +1 -1
package/dist/plugin.js
CHANGED
|
@@ -4216,7 +4216,9 @@ function chromaticPlugin(userOptions = {}) {
|
|
|
4216
4216
|
}
|
|
4217
4217
|
}
|
|
4218
4218
|
}
|
|
4219
|
-
|
|
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
|
}
|