-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
.DS_store | ||
.DS_Store | ||
build | ||
|
||
.idea | ||
.vscode | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
export = BaseHermione; | ||
declare class BaseHermione extends AsyncEmitter { | ||
static create(config: any): import("./base-hermione"); | ||
constructor(config: any); | ||
_interceptors: any[]; | ||
_config: Config; | ||
_init(): Promise<any>; | ||
get config(): Config; | ||
get events(): { | ||
NEW_WORKER_PROCESS: string; | ||
SUITE_BEGIN: string; | ||
SUITE_END: string; | ||
TEST_BEGIN: string; | ||
TEST_END: string; | ||
TEST_PASS: string; | ||
TEST_FAIL: string; | ||
TEST_PENDING: string; | ||
RETRY: string; | ||
} & { | ||
CLI: string; | ||
BEGIN: string; | ||
END: string; | ||
BEFORE_FILE_READ: string; | ||
AFTER_FILE_READ: string; | ||
AFTER_TESTS_READ: string; | ||
INFO: string; | ||
WARNING: string; | ||
ERROR: string; | ||
} & { | ||
INIT: string; | ||
RUNNER_START: string; | ||
RUNNER_END: string; | ||
SESSION_START: string; | ||
SESSION_END: string; | ||
EXIT: string; | ||
} & { | ||
INIT: string; | ||
BEFORE_FILE_READ: string; | ||
AFTER_FILE_READ: string; | ||
AFTER_TESTS_READ: string; | ||
TEST_FAIL: string; | ||
ERROR: string; | ||
NEW_BROWSER: string; | ||
UPDATE_REFERENCE: string; | ||
}; | ||
get errors(): typeof Errors; | ||
intercept(event: any, handler: any): import("./base-hermione"); | ||
isWorker(): void; | ||
_loadPlugins(): void; | ||
} | ||
import AsyncEmitter = require("./events/async-emitter"); | ||
import Config = require("./config"); | ||
import Errors = require("./errors"); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export = BasicPool; | ||
declare class BasicPool extends Pool { | ||
static create(config: any, emitter: any): import("./basic-pool"); | ||
constructor(config: any, emitter: any); | ||
_config: any; | ||
_emitter: any; | ||
log: any; | ||
_activeSessions: {}; | ||
getBrowser(id: any, opts?: {}): Promise<import("../browser/browser")>; | ||
freeBrowser(browser: any): Promise<void>; | ||
_emit(event: any, browser: any): any; | ||
_cancelled: boolean | undefined; | ||
} | ||
import Pool = require("./pool"); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
export = CachingPool; | ||
declare class CachingPool extends Pool { | ||
/** | ||
* @constructor | ||
* @extends BasicPool | ||
* @param {BasicPool} underlyingPool | ||
*/ | ||
constructor(underlyingPool: BasicPool, config: any); | ||
log: any; | ||
underlyingPool: BasicPool; | ||
_caches: {}; | ||
_config: any; | ||
_getCacheFor(id: any, version: any): any; | ||
getBrowser(id: any, opts?: {}): any; | ||
_initPool(browserId: any, version: any): void; | ||
/** | ||
* Free browser | ||
* @param {Browser} browser session instance | ||
* @param {Object} [options] - advanced options | ||
* @param {Boolean} [options.force] - if `true` than browser should | ||
* not be cached | ||
* @returns {Promise<undefined>} | ||
*/ | ||
freeBrowser(browser: Browser, options?: { | ||
force?: boolean | undefined; | ||
} | undefined): Promise<undefined>; | ||
} | ||
import Pool = require("./pool"); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export = CancelledError; | ||
declare class CancelledError extends Error { | ||
constructor(); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export function create(config: any, emitter: any): BasicPool; | ||
import BasicPool = require("./basic-pool"); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.