@assert-equals/dappdriver
Version:
DappDriver is an e2e testing framework designed for testing decentralized applications (dApps) using MetaMask, Rainbow or Zerion
16 lines (15 loc) • 1.3 kB
TypeScript
import { Range } from 'semver';
import { Artifact, Asset, Wallet } from '../types';
export declare function checkEnvVariable(variable: string): void;
export declare function compareVersion(wallet: Wallet, version: string, recommendedVersions: Range): void;
export declare function createDirectory(directory: string): void;
export declare function downloadAssetZipFile(asset: Asset, directory: string): Promise<string>;
export declare function downloadArtifactZipFile(artifact: Artifact, directory: string): Promise<string>;
export declare function extractZipContents(from: string): string;
export declare function fetchGithubArtifact(version: string, run: any, githubApiUrl: string): Promise<Artifact>;
export declare function fetchGithubRelease(wallet: Wallet, version: string, githubApiUrl: string): Promise<any>;
export declare function fetchGithubRun(version: string, workflowName: string, workflow: any, githubApiUrl: string): Promise<any>;
export declare function fetchGithubTags(wallet: Wallet, version: string, githubApiUrl: string): Promise<void>;
export declare function fetchGithubWorkflow(workflowName: string, githubApiUrl: string): Promise<any>;
export declare function findGithubAsset(assetName: string, release: any): Asset;
export declare function moveFiles(destDir: string): void;