mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Tests
This commit is contained in:
parent
3ddbf41de7
commit
4a7ca37984
@ -117,7 +117,7 @@ describe("git", () => {
|
||||
describe("generateBranch", () => {
|
||||
it("should execute five commands", async () => {
|
||||
const call = await generateBranch();
|
||||
expect(execute).toBeCalledTimes(5);
|
||||
expect(execute).toBeCalledTimes(6);
|
||||
expect(call).toBe("Deployment branch creation step complete... ✅");
|
||||
});
|
||||
});
|
||||
@ -144,7 +144,7 @@ describe("git", () => {
|
||||
const call = await deploy();
|
||||
|
||||
// Includes the call to generateBranch
|
||||
expect(execute).toBeCalledTimes(17);
|
||||
expect(execute).toBeCalledTimes(18);
|
||||
expect(call).toBe("Commit step complete...");
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user