UNPKG

intern

Version:

Intern. A next-generation code testing stack for JavaScript.

21 lines (20 loc) 811 B
/// <reference types="node" /> import { RawSourceMap } from 'source-map'; import Task from '@dojo/core/async/Task'; export declare function expandFiles(patterns?: string[] | string): string[]; export declare function getConfig(file?: string): Task<{ config: any; file?: string; }>; export declare function getConfig(argv?: string[]): Task<{ config: any; file?: string; }>; export declare function getConfig(file: string, argv?: string[]): Task<{ config: any; file?: string; }>; export declare function loadText(path: string): Task<string>; export declare function normalizePath(path: string): string; export declare function readSourceMap(sourceFile: string, code?: string): RawSourceMap | undefined; export declare function isErrnoException(value: any): value is NodeJS.ErrnoException;