Skip to content

Commit b632511

Browse files
committed
test: fixed bad test expectation
1 parent 3baad53 commit b632511

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/EncryptedFS.concurrent.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3261,7 +3261,8 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
32613261
const stat = await efs.stat(path1);
32623262
expect(stat.size).toEqual(100);
32633263
const contents = await efs.readFile(path1);
3264-
expect(contents.length).toEqual(100);
3264+
expect(contents.length).toBeGreaterThanOrEqual(10);
3265+
expect(contents.length).toBeLessThanOrEqual(100);
32653266

32663267
await efs.close(fd);
32673268
})

0 commit comments

Comments
 (0)