Skip to content

Commit 1863dbf

Browse files
committed
test: delete test that will fail if the test is run in a working tree created by git worktree
1 parent 2060d33 commit 1863dbf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test/git-utils.spec.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import {join} from "path";
21
import {
32
getDiffForFile,
43
resolveNearestGitDirectoryParent,
@@ -28,12 +27,6 @@ describe("git-utils", () => {
2827
);
2928
});
3029
});
31-
32-
it(`should resolve the overall project's .git directory for this spec file`, async () => {
33-
expect(await resolveNearestGitDirectoryParent(__dirname)).toEqual(
34-
join(__dirname, "..")
35-
);
36-
});
3730
});
3831

3932
describe("getDiffForFile()", () => {

0 commit comments

Comments
 (0)