intern
Version:
Intern. A next-generation code testing stack for JavaScript.
20 lines (19 loc) • 599 B
TypeScript
import { CancellablePromise } from '@theintern/common';
export declare function getConfig(file?: string): CancellablePromise<{
config: {
[key: string]: any;
};
file: string | undefined;
}>;
export declare function getDefaultBasePath(): string;
export declare function normalizePath(path: string): string;
export declare function parseQuery(query?: string): string[];
export declare type Url = {
protocol: string;
hostname: string;
port: string;
path: string;
query: string;
hash: string;
};
export declare function parseUrl(url: string): Url | undefined;