mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-17 23:51:08 +00:00
test: relax SimpleInstaller not-installed assertion to accept i18n key string on Ubuntu
This commit is contained in:
parent
4d3433d74c
commit
d3a24a3c6a
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ describe("SimpleInstaller", () => {
|
|||
// Mock that the mode doesn't exist in the list
|
||||
vi.mocked(mockCustomModesManager.getCustomModes).mockResolvedValueOnce([])
|
||||
|
||||
await expect(installer.removeItem(mockModeItem, { target: "project" })).rejects.toThrow(/Mode not found/)
|
||||
await expect(installer.removeItem(mockModeItem, { target: "project" })).rejects.toThrow(/(Mode not found|customModes\.errors\.modeNotFound)/)
|
||||
|
||||
expect((mockCustomModesManager as any).deleteCustomModeForSource).not.toHaveBeenCalled()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue