@@ -165,13 +165,11 @@ describe("memory watcher config", () => {
|
165 | 165 | string[], |
166 | 166 | Record<string, unknown>, |
167 | 167 | ]; |
168 | | -expect(watchedPaths).toEqual( |
169 | | -expect.arrayContaining([ |
170 | | -path.join(workspaceDir, "MEMORY.md"), |
171 | | -path.join(workspaceDir, "memory"), |
172 | | -extraDir, |
173 | | -]), |
174 | | -); |
| 168 | +expect(watchedPaths).toStrictEqual([ |
| 169 | +path.join(workspaceDir, "MEMORY.md"), |
| 170 | +path.join(workspaceDir, "memory"), |
| 171 | +extraDir, |
| 172 | +]); |
175 | 173 | expect(watchedPaths).not.toContainEqual(expect.stringContaining("*")); |
176 | 174 | expect(options.ignoreInitial).toBe(true); |
177 | 175 | expect(options.awaitWriteFinish).toEqual({ stabilityThreshold: 25, pollInterval: 100 }); |
@@ -223,9 +221,11 @@ describe("memory watcher config", () => {
|
223 | 221 | string[], |
224 | 222 | Record<string, unknown>, |
225 | 223 | ]; |
226 | | -expect(watchedPaths).toEqual( |
227 | | -expect.arrayContaining([path.join(workspaceDir, "MEMORY.md"), path.join(extraDir)]), |
228 | | -); |
| 224 | +expect(watchedPaths).toStrictEqual([ |
| 225 | +path.join(workspaceDir, "MEMORY.md"), |
| 226 | +path.join(workspaceDir, "memory"), |
| 227 | +extraDir, |
| 228 | +]); |
229 | 229 | expect(watchedPaths).not.toContainEqual(expect.stringContaining("*")); |
230 | 230 | |
231 | 231 | const ignored = options.ignored as WatchIgnoredFn | undefined; |
|