Skip to content

Commit 4c7c319

Browse files
committed
Fix tests
1 parent 69f5f14 commit 4c7c319

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/core/protect/__tests__/RooProtectedController.spec.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ describe("RooProtectedController", () => {
2020
expect(controller.isWriteProtected(".roo/modes/custom.json")).toBe(true)
2121
})
2222

23-
it("should protect roo.json file", () => {
24-
expect(controller.isWriteProtected("roo.json")).toBe(true)
25-
})
26-
2723
it("should protect .rooprotected file", () => {
2824
expect(controller.isWriteProtected(".rooprotected")).toBe(true)
2925
})
@@ -66,7 +62,7 @@ describe("RooProtectedController", () => {
6662

6763
const protectedFiles = controller.getProtectedFiles(files)
6864

69-
expect(protectedFiles).toEqual(new Set([".rooignore", ".roo/config.json", "roo.json"]))
65+
expect(protectedFiles).toEqual(new Set([".rooignore", ".roo/config.json"]))
7066
})
7167

7268
it("should return empty set when no files are protected", () => {
@@ -108,7 +104,6 @@ describe("RooProtectedController", () => {
108104
expect(instructions).toContain("write-protected")
109105
expect(instructions).toContain(".rooignore")
110106
expect(instructions).toContain(".roo/**")
111-
expect(instructions).toContain("roo.json")
112107
expect(instructions).toContain("\u{1F6E1}") // Shield symbol
113108
})
114109
})

0 commit comments

Comments
 (0)