Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
add jest to design-system
Roman Pominov72ef4b40eec1
diff --git a/packages/design-system/jest.config.js b/packages/design-system/jest.config.jsnew file mode 100644index 0000000000..9eae0843c6--- /dev/null+++ b/packages/design-system/jest.config.js@@ -0,0 +1,6 @@+// eslint-disable-next-line+const base = require("@webstudio-is/jest-config");++module.exports = {+ ...base,+};diff --git a/packages/design-system/package.json b/packages/design-system/package.jsonindex d181546931..e69178f2c6 100644--- a/packages/design-system/package.json+++ b/packages/design-system/package.json@@ -9,7 +9,8 @@"build": "rm -fr lib && tsc","typecheck": "tsc --noEmit","lint": "eslint ./src --ext .ts,.tsx --max-warnings 0",- "checks": "yarn typecheck && yarn lint",+ "test": "jest",+ "checks": "yarn typecheck && yarn lint && yarn test","storybook:run": "start-storybook -p 6006","storybook:build": "build-storybook"},@@ -23,7 +24,8 @@"@storybook/builder-webpack4": "^6.5.6","@storybook/manager-webpack4": "^6.5.6","@storybook/react": "^6.5.6",- "@storybook/testing-library": "^0.0.11"+ "@storybook/testing-library": "^0.0.11",+ "@webstudio-is/jest-config": "*"},"peerDependencies": {"react": "^17.0.2",