@sprucelabs/test-utils
Version:
Helpful utilities to make asserting more complicated conditions quick and easy! ⚡️
17 lines (16 loc) • 687 B
TypeScript
export default class AbstractSpruceTest {
static cwd: string;
protected static beforeAll(): Promise<void>;
protected static afterAll(): Promise<void>;
protected static beforeEach(): Promise<void>;
protected static afterEach(): Promise<void>;
protected static resolvePath(...filePath: string[]): string;
protected static wait(ms?: number): Promise<unknown>;
protected static log(...args: any[]): void;
cwd: string;
protected wait(ms?: number): Promise<unknown>;
protected log(...args: any[]): void;
protected resolvePath(...filePath: string[]): string;
protected beforeEach(): Promise<void>;
protected afterEach(): Promise<void>;
}