scratchpad - fix tests on macOS (#184314)

This commit is contained in:
Benjamin Pasero
2023-06-05 12:53:06 +02:00
committed by GitHub
parent 15dc0b5af3
commit bf9bbbb0b6
@@ -570,7 +570,7 @@ suite('WorkingCopyBackupTracker (native)', function () {
return scratchpadHotExitTest.call(this, HotExitConfiguration.ON_EXIT, ShutdownReason.CLOSE, false, true, false);
});
test('should hot exit (reason: CLOSE, windows: single, empty workspace)', function () {
return scratchpadHotExitTest.call(this, HotExitConfiguration.ON_EXIT, ShutdownReason.CLOSE, false, false, false);
return scratchpadHotExitTest.call(this, HotExitConfiguration.ON_EXIT, ShutdownReason.CLOSE, false, false, !!isMacintosh);
});
test('should hot exit (reason: CLOSE, windows: multiple, workspace)', function () {
return scratchpadHotExitTest.call(this, HotExitConfiguration.ON_EXIT, ShutdownReason.CLOSE, true, true, false);
@@ -759,8 +759,6 @@ suite('WorkingCopyBackupTracker (native)', function () {
assert.strictEqual(veto, shouldVeto);
await cleanup();
await cleanup();
}
});
});