We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02dd91b commit 0984b50Copy full SHA for 0984b50
.husky/commit-msg
@@ -1,3 +1,5 @@
1
+# shellcheck shell=sh
2
+
3
npx --no -- commitlint --edit "${1:-.git/COMMIT_EDITMSG}"
4
RESULT=$?
5
jest.setup.js
-jest.spyOn(console, "log").mockImplementation(() => {});
-jest.spyOn(console, "error").mockImplementation(() => {});
-jest.spyOn(console, "warn").mockImplementation(() => {});
+global.console = {
+ log: jest.fn(),
+ warn: jest.fn(),
+ error: jest.fn(),
+};
0 commit comments