mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
update axe-webdriverjs analyze
This commit is contained in:
@@ -20,7 +20,7 @@ const inTest = async (webDriver: WebDriver) => {
|
||||
.disableRules("rule")
|
||||
.disableRules(["rule", "rule"])
|
||||
.configure(spec)
|
||||
.analyze((internalResults: AxeAnalysis) => {});
|
||||
.analyze((err: Error, internalResults: AxeAnalysis) => {});
|
||||
|
||||
const inapplicable: Result[] = analysis.inapplicable;
|
||||
const incomplete: Result[] = analysis.incomplete;
|
||||
|
||||
Vendored
+3
-1
@@ -74,7 +74,9 @@ export interface AxeBuilder {
|
||||
* Perform analysis and retrieve results.
|
||||
* @param callback Function to execute when analysis completes.
|
||||
*/
|
||||
analyze(callback: (results: AxeAnalysis) => void): Promise<AxeAnalysis>;
|
||||
analyze(
|
||||
callback?: (err: Error, results: AxeAnalysis) => void
|
||||
): Promise<AxeAnalysis>;
|
||||
}
|
||||
|
||||
export const AxeBuilder: {
|
||||
|
||||
Reference in New Issue
Block a user