Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add test case for triggered on pull requests #2

Merged
merged 5 commits into from
Nov 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update action.test.ts
mikael-andersson91 committed Nov 9, 2022
commit b014154d468f5be703f9b3c3490e8654375c2987
5 changes: 0 additions & 5 deletions tests/action.test.ts
Original file line number Diff line number Diff line change
@@ -914,11 +914,6 @@ describe('github-tag-action', () => {
/*
* Then
*/
expect(mockCreateTag).toHaveBeenCalledWith(
'v1.2.3-branch-with-my-first-feature.0',
expect.any(Boolean),
expect.any(String)
);
expect(mockCreateTag).not.toHaveBeenCalledWith();
expect(mockSetFailed).not.toBeCalled();
});