PHP WebShell
Текущая директория: /opt/BitGoJS/modules/utxo-core/dist/src/testutil
Просмотр файла: fixtures.utils.d.ts
/**
* Contains helpers for working with test fixtures
*/
/**
* Return fixture described in `path`.
*
* If file does not exist and `defaultValue` is provided, writes defaultValue to `path` and throws an error.
*
* @param path
* @param defaultValue
* @return T - fixture content
*/
export declare function getFixture<T>(path: string, defaultValue?: T | (() => Promise<T>)): Promise<T>;
export declare function jsonNormalize<T>(v: T): T;
//# sourceMappingURL=fixtures.utils.d.ts.map
Выполнить команду
Для локальной разработки. Не используйте в интернете!