@grantbii/design-system 1.7.2 → 1.7.4

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/vitest.config.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { playwright } from "@vitest/browser-playwright";
1
2
  import path from "node:path";
2
3
  import { fileURLToPath } from "node:url";
3
4
  import { defineConfig } from "vitest/config";
@@ -21,7 +22,7 @@ export default defineConfig({
21
22
  browser: {
22
23
  enabled: true,
23
24
  headless: true,
24
- provider: "playwright",
25
+ provider: playwright(),
25
26
  instances: [{ browser: "chromium" }],
26
27
  },
27
28
  setupFiles: [".storybook/vitest.setup.ts"],
@@ -1 +1 @@
1
- {"version":3,"file":"vitest.config.js","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAEtE,MAAM,OAAO,GACX,OAAO,SAAS,KAAK,WAAW;IAC9B,CAAC,CAAC,SAAS;IACX,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAEnD,2FAA2F;AAC3F,eAAe,YAAY,CAAC;IAC1B,IAAI,EAAE;QACJ,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE;oBACP,6EAA6E;oBAC7E,2GAA2G;oBAC3G,aAAa,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,EAAE,CAAC;iBAC/D;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,OAAO,EAAE;wBACP,OAAO,EAAE,IAAI;wBACb,QAAQ,EAAE,IAAI;wBACd,QAAQ,EAAE,YAAY;wBACtB,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;qBACrC;oBACD,UAAU,EAAE,CAAC,4BAA4B,CAAC;iBAC3C;aACF;SACF;KACF;CACF,CAAC,CAAC","sourcesContent":["import path from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\n\nimport { defineConfig } from \"vitest/config\";\n\nimport { storybookTest } from \"@storybook/addon-vitest/vitest-plugin\";\n\nconst dirname =\n typeof __dirname !== \"undefined\"\n ? __dirname\n : path.dirname(fileURLToPath(import.meta.url));\n\n// More info at: https://storybook.js.org/docs/next/writing-tests/integrations/vitest-addon\nexport default defineConfig({\n test: {\n projects: [\n {\n extends: true,\n plugins: [\n // The plugin will run tests for the stories defined in your Storybook config\n // See options at: https://storybook.js.org/docs/next/writing-tests/integrations/vitest-addon#storybooktest\n storybookTest({ configDir: path.join(dirname, \".storybook\") }),\n ],\n test: {\n name: \"storybook\",\n browser: {\n enabled: true,\n headless: true,\n provider: \"playwright\",\n instances: [{ browser: \"chromium\" }],\n },\n setupFiles: [\".storybook/vitest.setup.ts\"],\n },\n },\n ],\n },\n});\n"]}
1
+ {"version":3,"file":"vitest.config.js","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAEtE,MAAM,OAAO,GACX,OAAO,SAAS,KAAK,WAAW;IAC9B,CAAC,CAAC,SAAS;IACX,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAEnD,2FAA2F;AAC3F,eAAe,YAAY,CAAC;IAC1B,IAAI,EAAE;QACJ,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE;oBACP,6EAA6E;oBAC7E,2GAA2G;oBAC3G,aAAa,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,EAAE,CAAC;iBAC/D;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,OAAO,EAAE;wBACP,OAAO,EAAE,IAAI;wBACb,QAAQ,EAAE,IAAI;wBACd,QAAQ,EAAE,UAAU,EAAE;wBACtB,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;qBACrC;oBACD,UAAU,EAAE,CAAC,4BAA4B,CAAC;iBAC3C;aACF;SACF;KACF;CACF,CAAC,CAAC","sourcesContent":["import { playwright } from \"@vitest/browser-playwright\";\nimport path from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport { defineConfig } from \"vitest/config\";\n\nimport { storybookTest } from \"@storybook/addon-vitest/vitest-plugin\";\n\nconst dirname =\n typeof __dirname !== \"undefined\"\n ? __dirname\n : path.dirname(fileURLToPath(import.meta.url));\n\n// More info at: https://storybook.js.org/docs/next/writing-tests/integrations/vitest-addon\nexport default defineConfig({\n test: {\n projects: [\n {\n extends: true,\n plugins: [\n // The plugin will run tests for the stories defined in your Storybook config\n // See options at: https://storybook.js.org/docs/next/writing-tests/integrations/vitest-addon#storybooktest\n storybookTest({ configDir: path.join(dirname, \".storybook\") }),\n ],\n test: {\n name: \"storybook\",\n browser: {\n enabled: true,\n headless: true,\n provider: playwright(),\n instances: [{ browser: \"chromium\" }],\n },\n setupFiles: [\".storybook/vitest.setup.ts\"],\n },\n },\n ],\n },\n});\n"]}