Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
personalizedrefrigerator committed Feb 19, 2024
1 parent 8d89b75 commit f284a6d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions __test__/backup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ describe("Backup", function () {
.calledWith("path").mockImplementation(() => Promise.resolve(testPath.backupBasePath))
.calledWith("zipArchive").mockImplementation(() => "no")
.calledWith("execFinishCmd").mockImplementation(() => "")
.calledWith("usePassword").mockImplementation(() => false);
.calledWith("usePassword").mockImplementation(() => false)
.calledWith("createSubfolderPerProfile").mockImplementation(() => false);

/* prettier-ignore */
when(spyOnGlobalValue)
Expand Down Expand Up @@ -1094,7 +1095,7 @@ describe("Backup", function () {

describe("create backup readme", () => {
it.each([{ backupRetention: 1 }, { backupRetention: 2 }])(
"should create a README.md in the backup directory (case %#)",
"should create a README.md in the backup directory (case %j)",
async ({ backupRetention }) => {
when(spyOnsSettingsValue)
.calledWith("backupRetention")
Expand Down

0 comments on commit f284a6d

Please sign in to comment.