We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bf9385 commit 4860e97Copy full SHA for 4860e97
test/git-strategies.test.js
@@ -1302,6 +1302,17 @@ import * as reporterProxy from '../lib/reporter-proxy';
1302
});
1303
1304
1305
+ describe('checkoutSide', function() {
1306
+ it('is a no-op when no paths are provided', async function() {
1307
+ const workdir = await cloneRepository();
1308
+ const git = await createTestStrategy(workdir);
1309
+ sinon.spy(git, 'exec');
1310
+
1311
+ await git.checkoutSide('ours', []);
1312
+ assert.isFalse(git.exec.called);
1313
+ });
1314
1315
1316
// Only needs to be tested on strategies that actually implement gpgExec
1317
describe('GPG signing', function() {
1318
let git;
0 commit comments