@wdio/types
Advanced tools
Comparing version 7.16.1 to 7.16.3
@@ -140,12 +140,16 @@ /// <reference types="node" /> | ||
/** | ||
* Function to be executed before a test (in Mocha/Jasmine) starts. | ||
* @param test details to current running test (represents step in Cucumber) | ||
* @param context context to current running test (represents World object in Cucumber) | ||
* Function to be executed before a test (in Mocha/Jasmine only) | ||
* @param {Object} test test object | ||
* @param {Object} context scope object the test was executed with | ||
*/ | ||
beforeTest?(test: Test, context: any): void; | ||
/** | ||
* Function to be executed after a test (in Mocha/Jasmine) ends. | ||
* @param test details to current running test (represents step in Cucumber) | ||
* @param context context to current running test (represents World object in Cucumber) | ||
* @param result test result | ||
* Function to be executed after a test (in Mocha/Jasmine only) | ||
* @param {Object} test test object | ||
* @param {Object} context scope object the test was executed with | ||
* @param {Error} result.error error object in case the test fails, otherwise `undefined` | ||
* @param {Any} result.result return object of test function | ||
* @param {Number} result.duration duration of test | ||
* @param {Boolean} result.passed true if test has passed, otherwise false | ||
* @param {Object} result.retries informations to spec related retries, e.g. `{ attempts: 0, limit: 0 }` | ||
*/ | ||
@@ -152,0 +156,0 @@ afterTest?(test: Test, context: any, result: TestResult): void; |
{ | ||
"name": "@wdio/types", | ||
"version": "7.16.1", | ||
"version": "7.16.3", | ||
"description": "Utility package providing type information for a variety of WebdriverIO interfaces", | ||
@@ -35,3 +35,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
}, | ||
"gitHead": "5aba1c7aeeb2592fe90cc3ba64129b4668a5dde1" | ||
"gitHead": "23e2af933060e829f03d7518089c377571c654e3" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98509
1818