Skip to content

Commit

Permalink
suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
KutluOzel-b committed Apr 11, 2024
1 parent 5d78931 commit 7901de4
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,6 @@ describe(".gitignore file in extension path folder tests", () => {
expect(found).toBeGreaterThanOrEqual(-1);
});

it("copybooks folder not exists ", () => {
(vscode.workspace.workspaceFolders as any) = [];
const createFile = jest.fn();
Utils.getExtensionFolder = jest.fn().mockReturnValue("/TestFolder");

createFileWithGivenPath(GITIGNORE_FILE, "/**");

expect(createFile).toHaveBeenCalledTimes(0);
expect(vscode.workspace.workspaceFolders![0]).toBe(undefined);
});
it("copybooks folder not exists & created folder gives exception ", () => {
(vscode.workspace.workspaceFolders as any) = [];
const createFile = jest.fn();
Expand Down

0 comments on commit 7901de4

Please sign in to comment.