mirror of
https://github.com/farcasterxyz/hub-monorepo.git
synced 2026-04-18 03:00:22 -04:00
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user