Skip to content

Commit

Permalink
chore(ci): add jest to root dir
Browse files Browse the repository at this point in the history
  • Loading branch information
waynevanson committed Aug 18, 2023
1 parent 96c3b47 commit 0704233
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
22 changes: 15 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@
"dev": "pnpm -r --filter '@waynevanson/obsidian-plugin-data-entry' run dev"
},
"devDependencies": {
"husky": "^8.0.3",
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@types/node": "^18.17.3",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-react-hooks": "^4.6.0",
"semantic-release": "^21.0.7",
"@types/node": "^18.17.3",
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"husky": "^8.0.3",
"jest": "^29.6.2",
"lint-staged": "^13.2.3",
"prettier": "^3.0.1",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0"
"semantic-release": "^21.0.7"
},
"commitlint": {
"extends": [
Expand All @@ -29,6 +30,13 @@
"tabWidth": 2,
"useTabs": false
},
"jest": {
"projects": [
"packages/data-entry",
"packages/obsidian-mocks"
],
"passWithNoTests": true
},
"lint-staged": {
"*.m?(t|j)sx?,!\\.vault": [
"eslint --fix",
Expand Down
1 change: 0 additions & 1 deletion packages/data-entry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"passWithNoTests": true,
"setupFilesAfterEnv": [
"<rootDir>/.config/setup-jest.ts"
]
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0704233

Please sign in to comment.