Skip to content

Commit ae29b97

Browse files
fix: export StartOptions interface
1 parent 8e73db4 commit ae29b97

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A11y static analysis tools [only cover 25% of WCAG](https://karlgroves.com/web-a
1818

1919
With Guidepup Virtual Screen Reader you can automate your screen reader unit test workflows the same you as would for mouse or keyboard based scenarios, no sweat!
2020

21-
## Upcoming Features
21+
## Features
2222

2323
- **Mirrors Real User Experience** - assert on what users really do and hear when using screen readers.
2424
- **Test Framework Agnostic** - run with Jest, with Playwright, as an independent script, no vendor lock-in.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@guidepup/virtual-screen-reader",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "Virtual screen reader driver for unit test automation.",
55
"main": "lib/index.js",
66
"author": "Craig Morten <craig.morten@hotmail.co.uk>",

src/Virtual.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ import { notImplemented } from "./notImplemented";
2020
import userEvent from "@testing-library/user-event";
2121

2222
export interface StartOptions extends CommandOptions {
23+
/**
24+
* The bounding HTML element to use the Virtual Screen Reader in.
25+
*
26+
* To use the entire page pass `document.body`.
27+
*/
2328
container: HTMLElement;
2429
}
2530

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { Virtual } from "./Virtual";
1+
import { StartOptions, Virtual } from "./Virtual";
22

33
export const virtual = new Virtual();
44

55
type _Virtual = typeof virtual;
66

7-
export { _Virtual as Virtual };
7+
export { StartOptions, _Virtual as Virtual };

0 commit comments

Comments
 (0)