Skip to content

Commit b125cc7

Browse files
committed
Husky testing
1 parent c929aba commit b125cc7

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

‎.husky/pre-commit‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
echo "Formatting files before commit..."
2-
npx lint-staged
1+
npm test
2+
npx lint-staged

‎jest.config.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ module.exports = {
88
'^@/(.*)$': '<rootDir>/packages/vscode/src/$1'
99
}
1010
}
11+
12+
13+
14+

‎packages/vscode/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"lint": "eslint src --ext ts,tsx",
1212
"lint:fix": "eslint src --ext ts,tsx --fix",
1313
"test": "jest",
14-
"test:watch": "jest --watch"
14+
"test:watch": "jest --watch",
15+
"prepare": "husky"
1516
},
1617
"publisher": "robertpiosik",
1718
"homepage": "https://codeweb.chat/",

0 commit comments

Comments
 (0)