vitest-plugin-vis 2.0.0 → 2.0.1
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/esm/config/vis.d.ts +1 -1
- package/esm/config/vis.js +1 -1
- package/package.json +2 -2
- package/src/config/vis.ts +1 -1
package/esm/config/vis.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare function vis<M extends ComparisonMethod = 'pixel'>(options?: VisO
|
|
|
21
21
|
writeImageSnapshot: import("vitest/node").BrowserCommand<[relativeFilePath: string, imageBase64: string]>;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
setupFiles: string[]
|
|
24
|
+
setupFiles: string[];
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
};
|
package/esm/config/vis.js
CHANGED
|
@@ -19,7 +19,7 @@ export function vis(options = { preset: 'auto' }) {
|
|
|
19
19
|
name: undefined,
|
|
20
20
|
commands,
|
|
21
21
|
},
|
|
22
|
-
setupFiles: preset && preset !== 'none' ? [`vitest-plugin-vis/presets/${preset}`] :
|
|
22
|
+
setupFiles: preset && preset !== 'none' ? [`vitest-plugin-vis/presets/${preset}`] : [],
|
|
23
23
|
},
|
|
24
24
|
};
|
|
25
25
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitest-plugin-vis",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Vitest visual testing plugin",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"image-snapshot",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"pngjs": "^7.0.0",
|
|
71
71
|
"rimraf": "^6.0.1",
|
|
72
72
|
"ssim.js": "^3.5.0",
|
|
73
|
-
"type-plus": "
|
|
73
|
+
"type-plus": "8.0.0-beta.7"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@repobuddy/typescript": "^2.1.0",
|
package/src/config/vis.ts
CHANGED
|
@@ -23,7 +23,7 @@ export function vis<M extends ComparisonMethod = 'pixel'>(options: VisOptions<M>
|
|
|
23
23
|
name: undefined as unknown as string,
|
|
24
24
|
commands,
|
|
25
25
|
},
|
|
26
|
-
setupFiles: preset && preset !== 'none' ? [`vitest-plugin-vis/presets/${preset}`] :
|
|
26
|
+
setupFiles: preset && preset !== 'none' ? [`vitest-plugin-vis/presets/${preset}`] : [],
|
|
27
27
|
},
|
|
28
28
|
}
|
|
29
29
|
},
|