mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-01 12:12:58 +00:00
[cypress-axe] update types for v0.4.0
This commit is contained in:
parent
34116971d5
commit
bebc13ea5b
6
types/cypress-axe/index.d.ts
vendored
6
types/cypress-axe/index.d.ts
vendored
@ -1,12 +1,14 @@
|
||||
// Type definitions for cypress-axe 0.3
|
||||
// Type definitions for cypress-axe 0.4
|
||||
// Project: https://github.com/avanslaars/cypress-axe#readme
|
||||
// Definitions by: Justin Hall <https://github.com/wKovacs64>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
import { ElementContext, RunOptions } from 'axe-core';
|
||||
|
||||
declare namespace Cypress {
|
||||
interface Chainable<Subject = any> {
|
||||
injectAxe(): void;
|
||||
checkA11y(): void;
|
||||
checkA11y(context?: ElementContext, options?: RunOptions): void;
|
||||
configureAxe(options?: RunOptions): void;
|
||||
}
|
||||
}
|
||||
|
||||
6
types/cypress-axe/package.json
Normal file
6
types/cypress-axe/package.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"axe-core": "^3.1.2"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user