Skip to content

Commit 0984b50

Browse files
committed
fix: test CI/CD release and tag function
1 parent 02dd91b commit 0984b50

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.husky/commit-msg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# shellcheck shell=sh
2+
13
npx --no -- commitlint --edit "${1:-.git/COMMIT_EDITMSG}"
24
RESULT=$?
35

jest.setup.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
jest.spyOn(console, "log").mockImplementation(() => {});
2-
jest.spyOn(console, "error").mockImplementation(() => {});
3-
jest.spyOn(console, "warn").mockImplementation(() => {});
1+
global.console = {
2+
log: jest.fn(),
3+
warn: jest.fn(),
4+
error: jest.fn(),
5+
};

0 commit comments

Comments
 (0)