diff --git a/packages/git/src/node/dugite-git.spec.ts b/packages/git/src/node/dugite-git.spec.ts index 6ec8cb4f98b0d..0ec6b29b0d137 100644 --- a/packages/git/src/node/dugite-git.spec.ts +++ b/packages/git/src/node/dugite-git.spec.ts @@ -26,6 +26,7 @@ import { FileUri } from '@theia/core/lib/node/file-uri'; import { WorkingDirectoryStatus, Repository, GitUtils, GitFileStatus, GitFileChange } from '../common'; import { initRepository, createTestRepository } from 'dugite-extra/lib/command/test-helper'; import { createGit } from './test/binding-helper'; +import { isWindows } from '@theia/core/lib/common/os'; /* eslint-disable max-len, no-unused-expressions */ @@ -74,6 +75,11 @@ describe('git', async function (): Promise { }); it('should discover all nested repositories and the root repository which is at the workspace root', async () => { + if (isWindows) { + // https://github.com/eclipse-theia/theia/issues/933 + this.skip(); + return; + } const root = track.mkdirSync('discovery-test-3'); fs.mkdirSync(path.join(root, 'BASE'));