UNPKG

undedoloremque

Version:
18 lines (14 loc) 465 B
import { describe, expect, test } from '@jest/globals'; import Long from 'long'; import { client, selectSp } from './utils'; describe('query storage api', () => { test('query lock fee', async () => { const spInfo = await selectSp(); const res = await client.storage.queryLockFee({ createAt: Long.fromInt(0), primarySpAddress: spInfo.primarySpAddress, payloadSize: Long.fromInt(1111), }); expect(res).not.toBeNull(); }); });