@types/selenium-webdriver
Advanced tools
Comparing version
@@ -0,0 +0,0 @@ import * as webdriver from './index'; |
@@ -0,0 +0,0 @@ import * as webdriver from './index'; |
@@ -0,0 +0,0 @@ import * as webdriver from './index'; |
@@ -0,0 +0,0 @@ import * as webdriver from './index'; |
@@ -0,0 +0,0 @@ import * as webdriver from './index'; |
@@ -0,0 +0,0 @@ import * as webdriver from './index'; |
{ | ||
"name": "@types/selenium-webdriver", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "TypeScript definitions for Selenium WebDriverJS", | ||
@@ -22,2 +22,6 @@ "license": "MIT", | ||
"url": "https://github.com/SupernaviX" | ||
}, | ||
{ | ||
"name": "Ben Dixon", | ||
"url": "https://github.com/bendxn" | ||
} | ||
@@ -33,4 +37,4 @@ ], | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "04eee8e400f981e3269978e72046c130ca729aa558cebc92dfafc330e960346a", | ||
"typesPublisherContentHash": "badfb99b447ee5a514a87164c812c4028d7e2a8baa94483028bb9857b333eefb", | ||
"typeScriptVersion": "2.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 17 Apr 2017 17:55:17 GMT | ||
* Last updated: Fri, 21 Apr 2017 15:59:44 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Bill Armstrong <https://github.com/BillArmstrong>, Yuki Kokubun <https://github.com/Kuniwak>, Craig Nishina <https://github.com/cnishina>, Simon Gellis <https://github.com/SupernaviX>. | ||
These definitions were written by Bill Armstrong <https://github.com/BillArmstrong>, Yuki Kokubun <https://github.com/Kuniwak>, Craig Nishina <https://github.com/cnishina>, Simon Gellis <https://github.com/SupernaviX>, Ben Dixon <https://github.com/bendxn>. |
@@ -0,0 +0,0 @@ import * as webdriver from './index'; |
@@ -0,0 +0,0 @@ import * as webdriver from './index'; |
@@ -1,8 +0,29 @@ | ||
/** | ||
* Registers a new test suite. | ||
* @param name The suite name. | ||
* @param fn The suite function, or {@code undefined} to define a pending test suite. | ||
*/ | ||
export function describe(name: string, fn: Function): void; | ||
import { promise } from './index'; | ||
import * as Testing from './testing'; | ||
export const describe: { | ||
/** | ||
* Registers a new test suite. | ||
* @param name The suite name. | ||
* @param fn The suite function, or {@code undefined} to define a pending test suite. | ||
*/ | ||
(name: string, fn: Function): void; | ||
/** | ||
* An alias for {@link #describe()} that marks the suite as exclusive, | ||
* suppressing all other test suites. | ||
* @param {string} name The suite name. | ||
* @param {function()=} opt_fn The suite function, or `undefined` to define | ||
* a pending test suite. | ||
*/ | ||
only(name: string, fn: Function): void; | ||
/** | ||
* Defines a suppressed test suite. | ||
* @param name The suite name. | ||
* @param fn The suite function, or {@code undefined} to define a pending test suite. | ||
*/ | ||
skip(name: string, fn: Function): void; | ||
}; | ||
/** | ||
@@ -39,22 +60,48 @@ * Defines a suppressed test suite. | ||
export const it: { | ||
/** | ||
* Add a test to the current suite. | ||
* @param name The test name. | ||
* @param fn The test function, or {@code undefined} to define a pending test case. | ||
*/ | ||
(name: string, fn: Function): void; | ||
/** | ||
* An alias for {@link #it()} that flags the test as the only one that should | ||
* be run within the current suite. | ||
* @param {string} name The test name. | ||
* @param {function()=} opt_fn The test function, or `undefined` to define | ||
* a pending test case. | ||
*/ | ||
only(name: string, fn: Function): void; | ||
/** | ||
* Adds a test to the current suite while suppressing it so it is not run. | ||
* @param name The test name. | ||
* @param fn The test function, or {@code undefined} to define a pending test case. | ||
*/ | ||
skip(name: string, fn: Function): void; | ||
} | ||
/** | ||
* Add a test to the current suite. | ||
* Adds a test to the current suite while suppressing it so it is not run. | ||
* @param name The test name. | ||
* @param fn The test function, or {@code undefined} to define a pending test case. | ||
*/ | ||
export function it(name: string, fn: Function): void; | ||
export function xit(name: string, fn: Function): void; | ||
/** | ||
* An alias for {@link #it()} that flags the test as the only one that should | ||
* be run within the current suite. | ||
* @param name The test name. | ||
* @param fn The test function, or {@code undefined} to define a pending test case. | ||
* @return {!promise.ControlFlow} the control flow instance used by this module | ||
* to coordinate test actions. | ||
*/ | ||
export function iit(name: string, fn: Function): void; | ||
export function controlFlow(): promise.ControlFlow; | ||
/** | ||
* Adds a test to the current suite while suppressing it so it is not run. | ||
* @param name The test name. | ||
* @param fn The test function, or {@code undefined} to define a pending test case. | ||
* Ignores the test chained to this function if the provided predicate returns | ||
* true. | ||
* @param {function(): boolean} predicateFn A predicate to call to determine | ||
* if the test should be suppressed. This function MUST be synchronous. | ||
* @return {!Object} An object with wrapped versions of {@link #it()} and | ||
* {@link #describe()} that ignore tests as indicated by the predicate. | ||
*/ | ||
export function xit(name: string, fn: Function): void; | ||
export function ignore(predicateFn: () => boolean): typeof Testing; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
242571
3.58%5872
0.72%