UNPKG

@j0nnyboi/amman

Version:

A modern mandatory toolbelt to help test solana SDK libraries and apps on a locally running validator.

25 lines (24 loc) 628 B
/// <reference types="node" /> export * from './guards'; export * from './log'; /** * @private */ export declare const sleep: (ms: number) => Promise<unknown>; /** * @private */ export declare function createHash(s: Buffer): string; /** * Gets the path to a temporary directory in which to store the test * validator ledger. * * @param testLabel label used to name that directory * @category utils */ export declare function tmpLedgerDir(testLabel?: string): string; /** * Custom JSON.stringify which avoids failing on bigint values * @category utils */ export declare function safeJsonStringify(obj: any): string;