@chromatic-com/vitest 0.0.7-ab1d92b-20260518133338 → 0.0.7

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.d.ts +18 -0
  2. package/package.json +1 -1
package/dist/plugin.d.ts CHANGED
@@ -7,16 +7,34 @@ declare global {
7
7
  }
8
8
 
9
9
  interface ChromaticConfig {
10
+ /** https://www.chromatic.com/docs/delay/ */
10
11
  delay?: number;
12
+ /** https://www.chromatic.com/docs/threshold/#anti-aliasing */
11
13
  diffIncludeAntiAliasing?: boolean;
14
+ /** https://www.chromatic.com/docs/threshold/#setting-the-threshold */
12
15
  diffThreshold?: number;
16
+ /** Disable the capture that happens automatically at the end of a test when using the Chromatic test fixture */
13
17
  disableAutoSnapshot?: boolean;
18
+ /** https://www.chromatic.com/docs/media-features/#test-high-contrast-color-schemes */
14
19
  forcedColors?: string;
20
+ /** https://www.chromatic.com/docs/animations/#css-animations */
15
21
  pauseAnimationAtEnd?: boolean;
22
+ /** https://www.chromatic.com/docs/media-features/#verify-reduced-motion-animations */
16
23
  prefersReducedMotion?: string;
24
+ /**
25
+ * Specify a network timeout, in milliseconds. This is the maximum amount of time that
26
+ * each test will wait for the network to be idle while archiving resources.
27
+ */
17
28
  resourceArchiveTimeout?: number;
29
+ /**
30
+ * Domains (besides where the test is being run from) that assets should be archived from
31
+ * (needed when, for example, CI environment can't access the archives later on)
32
+ * ex: www.some-domain.com
33
+ */
18
34
  assetDomains?: string[];
35
+ /** Crop snapshots to the viewport size. */
19
36
  cropToViewport?: boolean;
37
+ /** CSS selectors of elements to ignore when comparing snapshots. */
20
38
  ignoreSelectors?: string[];
21
39
  }
22
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chromatic-com/vitest",
3
- "version": "0.0.7-ab1d92b-20260518133338",
3
+ "version": "0.0.7",
4
4
  "description": "Chromatic Visual Regression Testing for Vitest",
5
5
  "repository": {
6
6
  "type": "git",