vitest-plugin-vis 5.1.7 → 5.1.8

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.
@@ -1,5 +1,5 @@
1
- import { stub } from "type-plus";
2
1
  import "@vitest/browser-playwright";
2
+ import { stub } from "type-plus/testing";
3
3
 
4
4
  //#region src/server/testing/stubBrowserCommandContext.ts
5
5
  const stubBrowserCommandContext = stub.build({});
@@ -1 +1 @@
1
- {"version":3,"file":"stubBrowserCommandContext.mjs","names":[],"sources":["../../../src/server/testing/stubBrowserCommandContext.ts"],"sourcesContent":["import '@vitest/browser-playwright'\nimport { stub } from 'type-plus'\nimport type { ExtendedBrowserCommandContext } from '../vis_server_context.types.ts'\n\nexport const stubBrowserCommandContext = stub.build<ExtendedBrowserCommandContext>({})\n\nexport function createStubPartialBrowserCommandContext({ root, testPath }: { root: string; testPath: string }) {\n\treturn stub.build<ExtendedBrowserCommandContext>({\n\t\tproject: {\n\t\t\tconfig: { root },\n\t\t\trunner: { config: { name: 'subject' } },\n\t\t} as any,\n\t\tprovider: {},\n\t\ttestPath,\n\t})\n}\n"],"mappings":";;;;AAIA,MAAa,4BAA4B,KAAK,MAAqC,EAAE,CAAC"}
1
+ {"version":3,"file":"stubBrowserCommandContext.mjs","names":[],"sources":["../../../src/server/testing/stubBrowserCommandContext.ts"],"sourcesContent":["import '@vitest/browser-playwright'\nimport { stub } from 'type-plus/testing'\nimport type { ExtendedBrowserCommandContext } from '../vis_server_context.types.ts'\n\nexport const stubBrowserCommandContext = stub.build<ExtendedBrowserCommandContext>({})\n\nexport function createStubPartialBrowserCommandContext({ root, testPath }: { root: string; testPath: string }) {\n\treturn stub.build<ExtendedBrowserCommandContext>({\n\t\tproject: {\n\t\t\tconfig: { root },\n\t\t\trunner: { config: { name: 'subject' } },\n\t\t} as any,\n\t\tprovider: {},\n\t\ttestPath,\n\t})\n}\n"],"mappings":";;;;AAIA,MAAa,4BAA4B,KAAK,MAAqC,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { stub } from "type-plus";
1
+ import { stub } from "type-plus/testing";
2
2
 
3
3
  //#region src/server/testing/stubUserConfig.ts
4
4
  const stubUserConfig = stub.build((stub$1) => ({ ...stub$1 }));
@@ -1 +1 @@
1
- {"version":3,"file":"stubUserConfig.mjs","names":["stub"],"sources":["../../../src/server/testing/stubUserConfig.ts"],"sourcesContent":["import { stub } from 'type-plus'\nimport type { ViteUserConfig } from 'vitest/config'\n\nexport const stubUserConfig = stub.build<ViteUserConfig>((stub) => ({\n\t...stub,\n}))\n"],"mappings":";;;AAGA,MAAa,iBAAiB,KAAK,OAAuB,YAAU,EACnE,GAAGA,QACH,EAAE"}
1
+ {"version":3,"file":"stubUserConfig.mjs","names":["stub"],"sources":["../../../src/server/testing/stubUserConfig.ts"],"sourcesContent":["import { stub } from 'type-plus/testing'\nimport type { ViteUserConfig } from 'vitest/config'\n\nexport const stubUserConfig = stub.build<ViteUserConfig>((stub) => ({\n\t...stub,\n}))\n"],"mappings":";;;AAGA,MAAa,iBAAiB,KAAK,OAAuB,YAAU,EACnE,GAAGA,QACH,EAAE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitest-plugin-vis",
3
- "version": "5.1.7",
3
+ "version": "5.1.8",
4
4
  "description": "Vitest visual testing plugin",
5
5
  "keywords": [
6
6
  "image-snapshot",
@@ -57,11 +57,11 @@
57
57
  "pngjs": "^7.0.0",
58
58
  "rimraf": "^6.1.3",
59
59
  "ssim.js": "^3.5.0",
60
- "type-plus": "8.0.0-beta.12"
60
+ "type-plus": "8.0.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@repobuddy/storybook": "^2.33.1",
64
- "@repobuddy/typescript": "^2.2.0",
63
+ "@repobuddy/storybook": "^2.33.4",
64
+ "@repobuddy/typescript": "^2.2.2",
65
65
  "@storybook-community/storybook-dark-mode": "^7.1.3",
66
66
  "@storybook/addon-docs": "^10.5.10",
67
67
  "@storybook/addon-vitest": "^10.5.10",
@@ -1,5 +1,5 @@
1
1
  import '@vitest/browser-playwright'
2
- import { stub } from 'type-plus'
2
+ import { stub } from 'type-plus/testing'
3
3
  import type { ExtendedBrowserCommandContext } from '../vis_server_context.types.ts'
4
4
 
5
5
  export const stubBrowserCommandContext = stub.build<ExtendedBrowserCommandContext>({})
@@ -1,4 +1,4 @@
1
- import { stub } from 'type-plus'
1
+ import { stub } from 'type-plus/testing'
2
2
  import type { ViteUserConfig } from 'vitest/config'
3
3
 
4
4
  export const stubUserConfig = stub.build<ViteUserConfig>((stub) => ({