Skip to content

Commit c9247ed

Browse files
committed
Fix: test for new workaround
1 parent 66b3c59 commit c9247ed

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

__test__/backup.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,6 +1043,8 @@ describe("Backup", function () {
10431043
fs.writeFileSync(file1, "template1");
10441044
fs.writeFileSync(file2, "template2");
10451045

1046+
backup.fsWorkaroundLinux = true;
1047+
10461048
expect(await backup.backupFolder(testPath.templates, dst)).toBe(true);
10471049
expect(fs.existsSync(checkFile1)).toBe(true);
10481050
expect(fs.existsSync(checkFile2)).toBe(true);
@@ -1105,6 +1107,7 @@ describe("Backup", function () {
11051107

11061108
backup.activeBackupPath = testPath.activeBackupJob;
11071109
backup.backupPlugins = true;
1110+
backup.fsWorkaroundLinux = true;
11081111
await backup.backupProfileData();
11091112

11101113
expect(fs.existsSync(backupTemplate)).toBe(true);

0 commit comments

Comments
 (0)