test: tighten core io empty array assertions

This commit is contained in:
Shakker
2026-05-09 05:29:43 +01:00
parent ef214587fd
commit e771e251eb
8 changed files with 11 additions and 11 deletions

View File

@@ -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();
});