1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | import "jasmine";
|
8 |
|
9 | declare global {
|
10 | function it(expectation: string, assertion: (done: (err?: any) => void) => void, timeout?: number): void;
|
11 |
|
12 | namespace jasmine {
|
13 | interface Env {
|
14 | defaultTimeoutInterval: number;
|
15 | }
|
16 |
|
17 | interface ExecuteSpecsOptions {
|
18 | specFolders: string[];
|
19 | onComplete?: ((runner: Runner) => void) | undefined;
|
20 | isVerbose?: boolean | undefined;
|
21 | showColors?: boolean | undefined;
|
22 | teamcity?: string | boolean | undefined;
|
23 | useRequireJs?: boolean | undefined;
|
24 | regExpSpec: RegExp;
|
25 | junitreport?: {
|
26 | report: boolean;
|
27 | savePath: string;
|
28 | useDotNotation: boolean;
|
29 | consolidate: boolean;
|
30 | } | undefined;
|
31 | includeStackTrace?: boolean | undefined;
|
32 | growl?: boolean | undefined;
|
33 | }
|
34 |
|
35 | interface JasmineNode {
|
36 | executeSpecsInFolder(options: ExecuteSpecsOptions): void;
|
37 | loadHelpersInFolder(path: string, pattern: RegExp): void;
|
38 | }
|
39 | }
|
40 | }
|
41 |
|
42 | declare const jasmine: jasmine.JasmineNode;
|
43 | export = jasmine;
|
44 |
|
\ | No newline at end of file |