mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-15 20:50:42 +00:00
test: tighten core io empty array assertions
This commit is contained in:
@@ -276,7 +276,7 @@ describe("openshell fs bridges", () => {
|
||||
await expect(fs.stat(path.join(outsideDir, "escape.txt"))).rejects.toMatchObject({
|
||||
code: "ENOENT",
|
||||
});
|
||||
await expect(fs.readdir(outsideDir)).resolves.toEqual([]);
|
||||
await expect(fs.readdir(outsideDir)).resolves.toStrictEqual([]);
|
||||
expect(backend.syncLocalPathToRemote).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user