chore: fix test (#1218)

* chore: fix test

* comment
This commit is contained in:
adityapk00
2023-08-04 08:32:54 -07:00
committed by GitHub
parent 1e0979b0c0
commit d63f8eec1e

View File

@@ -108,7 +108,8 @@ describe("server rpc tests", () => {
describe("getCurrentStorageLimitsByFid", () => {
test("succeeds for user with no storage", async () => {
const result = await client.getCurrentStorageLimitsByFid(FidRequest.create({ fid }));
expect(result._unsafeUnwrap().limits.map((l) => l.limit)).toEqual([0, 0, 0, 0, 0]);
// Default storage limits
expect(result._unsafeUnwrap().limits.map((l) => l.limit)).toEqual([10000, 2500, 5000, 100, 50]);
});
test("succeeds for user with storage", async () => {