mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Fix mock
This commit is contained in:
parent
d1971b79f8
commit
a67ba8326b
1 changed files with 5 additions and 1 deletions
|
|
@ -65,10 +65,14 @@ jest.mock("os", () => ({
|
|||
homedir: () => "/home/user",
|
||||
}))
|
||||
|
||||
jest.mock("default-shell", () => "/bin/bash")
|
||||
jest.mock("default-shell", () => "/bin/zsh")
|
||||
|
||||
jest.mock("os-name", () => () => "Linux")
|
||||
|
||||
jest.mock("../../../utils/shell", () => ({
|
||||
getShell: () => "/bin/zsh",
|
||||
}))
|
||||
|
||||
// Create a mock ExtensionContext
|
||||
const mockContext = {
|
||||
extensionPath: "/mock/extension/path",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue