1 | import { locator } from '@instructure/ui-test-locator';
|
2 | import { accessible, parseQueryArguments, findWithLabel, findWithText, findWithTitle, findByQuery, findAllByQuery, matchesSelector, querySelectorAll, querySelector, firstOrNull, wrapQueryResult, find, findAll, findAllFrames, findFrame, debug } from '@instructure/ui-test-queries';
|
3 | import { mount, unmount, stub, spy, viewport, match } from '@instructure/ui-test-sandbox';
|
4 | import type { SinonStub, SinonSpy, SinonSandbox } from '@instructure/ui-test-sandbox';
|
5 | import './utils/shims';
|
6 | import { waitForExpect } from './utils/waitForExpect';
|
7 | import { expect } from './utils/expect';
|
8 | import { generateA11yTests } from './utils/generateA11yTests';
|
9 | import { generateComponentExamples, StoryConfig, Example, ExamplesPage } from './utils/generateComponentExamples';
|
10 | import { generatePropCombinations } from './utils/generatePropCombinations';
|
11 | declare global {
|
12 | export namespace Chai {
|
13 | interface Assertion {
|
14 | readonly contain: Assertion;
|
15 | exactly(expected: number): Assertion;
|
16 | text(expected: string): void;
|
17 | className(expected: string): void;
|
18 | descendants(expected: string): void;
|
19 | children(expected: string): void;
|
20 | ancestors(expected: string): void;
|
21 | parents(expected: string): void;
|
22 | attribute(expectedAttribute: string, expectedAttributeValue?: string): void;
|
23 | style(expected: string, expectedAttributeValue?: string | number): void;
|
24 | bounds(expected: string, expectedAttributeValue?: string | number): void;
|
25 | tagName(expected: string): void;
|
26 | id(expected: string): void;
|
27 | visible(): boolean;
|
28 | clickable(): boolean;
|
29 | focus(): boolean;
|
30 | focused(): boolean;
|
31 | focusable(): boolean;
|
32 | tabbable(): boolean;
|
33 | checked(): boolean;
|
34 | selected(): boolean;
|
35 | disabled(): boolean;
|
36 | enabled(): boolean;
|
37 | readonly(): boolean;
|
38 | accessible(): boolean;
|
39 | role(expected: string): void;
|
40 | title(expected: string): void;
|
41 | value(expected: string): void;
|
42 | label(expected: string): void;
|
43 | }
|
44 | }
|
45 | }
|
46 | export type { StoryConfig, Example, ExamplesPage, SinonStub, SinonSpy, SinonSandbox };
|
47 | declare const within: typeof wrapQueryResult;
|
48 | declare const wrap: typeof wrapQueryResult;
|
49 | declare const wait: typeof waitForExpect;
|
50 | export { generateComponentExamples, generatePropCombinations, generateA11yTests, viewport, accessible, parseQueryArguments, findWithLabel, findWithText, findWithTitle, findByQuery, findAllByQuery, matchesSelector, querySelectorAll, querySelector, locator, firstOrNull, within, wrapQueryResult, wrap, waitForExpect, wait, expect, mount, unmount, stub, spy, match, find, findAll, findAllFrames, findFrame, debug };
|
51 |
|
\ | No newline at end of file |