Added type checks to admin-x-design-system unit tests

This commit is contained in:
Chris Raible 2024-08-28 10:01:14 -07:00
parent 03c388db91
commit 37b170c381

View File

@ -11,8 +11,8 @@
"scripts": { "scripts": {
"build": "concurrently \"vite build\" \"tsc -p tsconfig.declaration.json\"", "build": "concurrently \"vite build\" \"tsc -p tsconfig.declaration.json\"",
"prepare": "yarn build", "prepare": "yarn build",
"test": "yarn test:unit && yarn test:types", "test": "yarn test:unit",
"test:unit": "yarn nx build && vitest run", "test:unit": "yarn test:types && yarn nx build && vitest run",
"test:types": "tsc --noEmit", "test:types": "tsc --noEmit",
"lint:code": "eslint --ext .js,.ts,.cjs,.tsx src/ --cache", "lint:code": "eslint --ext .js,.ts,.cjs,.tsx src/ --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",