Skip to content

Commit 7740626

Browse files
authored
Update plugin.unsafe.spec.ts
1 parent acbfd10 commit 7740626

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

simple-git/test/integration/plugin.unsafe.spec.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ describe('plugin.unsafe', () => {
3838
await first.init();
3939
});
4040

41+
it('allows local cloning without checkout', async () => {
42+
const result = await promiseResult(
43+
newSimpleGit({ baseDir: context.root })
44+
.clone('./first', './second', '--no-checkout'),
45+
);
46+
47+
expect(result.success).toBe(true);
48+
});
49+
4150
it('allows local cloning', async () => {
4251
const result = await promiseResult(
4352
newSimpleGit({ baseDir: context.root })

0 commit comments

Comments
 (0)