undedoloremque
Version:
Green Field JS SDK
18 lines (14 loc) • 465 B
text/typescript
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();
});
});