mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
axe-webdriverjs: add deprecated analyze test
This commit is contained in:
parent
5cc526244c
commit
fc03469ff5
@ -22,6 +22,10 @@ const inTest = async (webDriver: WebDriver) => {
|
||||
.configure(spec)
|
||||
.analyze((err: Error | null, internalResults: AxeAnalysis) => {});
|
||||
|
||||
const deprecatedAnalysis: AxeAnalysis = await AxeBuilder(webDriver).analyze(
|
||||
(internalResults: AxeAnalysis) => {}
|
||||
);
|
||||
|
||||
const inapplicable: Result[] = analysis.inapplicable;
|
||||
const incomplete: Result[] = analysis.incomplete;
|
||||
const passes: Result[] = analysis.passes;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user