UNPKG

6.05 kBJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6Object.defineProperty(exports, "accessible", {
7 enumerable: true,
8 get: function () {
9 return _uiTestQueries.accessible;
10 }
11});
12Object.defineProperty(exports, "debug", {
13 enumerable: true,
14 get: function () {
15 return _uiTestQueries.debug;
16 }
17});
18Object.defineProperty(exports, "expect", {
19 enumerable: true,
20 get: function () {
21 return _expect.expect;
22 }
23});
24Object.defineProperty(exports, "find", {
25 enumerable: true,
26 get: function () {
27 return _uiTestQueries.find;
28 }
29});
30Object.defineProperty(exports, "findAll", {
31 enumerable: true,
32 get: function () {
33 return _uiTestQueries.findAll;
34 }
35});
36Object.defineProperty(exports, "findAllByQuery", {
37 enumerable: true,
38 get: function () {
39 return _uiTestQueries.findAllByQuery;
40 }
41});
42Object.defineProperty(exports, "findAllFrames", {
43 enumerable: true,
44 get: function () {
45 return _uiTestQueries.findAllFrames;
46 }
47});
48Object.defineProperty(exports, "findByQuery", {
49 enumerable: true,
50 get: function () {
51 return _uiTestQueries.findByQuery;
52 }
53});
54Object.defineProperty(exports, "findFrame", {
55 enumerable: true,
56 get: function () {
57 return _uiTestQueries.findFrame;
58 }
59});
60Object.defineProperty(exports, "findWithLabel", {
61 enumerable: true,
62 get: function () {
63 return _uiTestQueries.findWithLabel;
64 }
65});
66Object.defineProperty(exports, "findWithText", {
67 enumerable: true,
68 get: function () {
69 return _uiTestQueries.findWithText;
70 }
71});
72Object.defineProperty(exports, "findWithTitle", {
73 enumerable: true,
74 get: function () {
75 return _uiTestQueries.findWithTitle;
76 }
77});
78Object.defineProperty(exports, "firstOrNull", {
79 enumerable: true,
80 get: function () {
81 return _uiTestQueries.firstOrNull;
82 }
83});
84Object.defineProperty(exports, "generateA11yTests", {
85 enumerable: true,
86 get: function () {
87 return _generateA11yTests.generateA11yTests;
88 }
89});
90Object.defineProperty(exports, "generateComponentExamples", {
91 enumerable: true,
92 get: function () {
93 return _generateComponentExamples.generateComponentExamples;
94 }
95});
96Object.defineProperty(exports, "generatePropCombinations", {
97 enumerable: true,
98 get: function () {
99 return _generatePropCombinations.generatePropCombinations;
100 }
101});
102Object.defineProperty(exports, "locator", {
103 enumerable: true,
104 get: function () {
105 return _uiTestLocator.locator;
106 }
107});
108Object.defineProperty(exports, "match", {
109 enumerable: true,
110 get: function () {
111 return _uiTestSandbox.match;
112 }
113});
114Object.defineProperty(exports, "matchesSelector", {
115 enumerable: true,
116 get: function () {
117 return _uiTestQueries.matchesSelector;
118 }
119});
120Object.defineProperty(exports, "mount", {
121 enumerable: true,
122 get: function () {
123 return _uiTestSandbox.mount;
124 }
125});
126Object.defineProperty(exports, "parseQueryArguments", {
127 enumerable: true,
128 get: function () {
129 return _uiTestQueries.parseQueryArguments;
130 }
131});
132Object.defineProperty(exports, "querySelector", {
133 enumerable: true,
134 get: function () {
135 return _uiTestQueries.querySelector;
136 }
137});
138Object.defineProperty(exports, "querySelectorAll", {
139 enumerable: true,
140 get: function () {
141 return _uiTestQueries.querySelectorAll;
142 }
143});
144Object.defineProperty(exports, "spy", {
145 enumerable: true,
146 get: function () {
147 return _uiTestSandbox.spy;
148 }
149});
150Object.defineProperty(exports, "stub", {
151 enumerable: true,
152 get: function () {
153 return _uiTestSandbox.stub;
154 }
155});
156Object.defineProperty(exports, "unmount", {
157 enumerable: true,
158 get: function () {
159 return _uiTestSandbox.unmount;
160 }
161});
162Object.defineProperty(exports, "viewport", {
163 enumerable: true,
164 get: function () {
165 return _uiTestSandbox.viewport;
166 }
167});
168exports.wait = void 0;
169Object.defineProperty(exports, "waitForExpect", {
170 enumerable: true,
171 get: function () {
172 return _waitForExpect.waitForExpect;
173 }
174});
175exports.wrap = exports.within = void 0;
176Object.defineProperty(exports, "wrapQueryResult", {
177 enumerable: true,
178 get: function () {
179 return _uiTestQueries.wrapQueryResult;
180 }
181});
182
183var _uiTestLocator = require("@instructure/ui-test-locator");
184
185var _uiTestQueries = require("@instructure/ui-test-queries");
186
187var _uiTestSandbox = require("@instructure/ui-test-sandbox");
188
189require("./utils/shims");
190
191var _waitForExpect = require("./utils/waitForExpect");
192
193var _expect = require("./utils/expect");
194
195var _generateA11yTests = require("./utils/generateA11yTests");
196
197var _generateComponentExamples = require("./utils/generateComponentExamples");
198
199var _generatePropCombinations = require("./utils/generatePropCombinations");
200
201/*
202 * The MIT License (MIT)
203 *
204 * Copyright (c) 2015 - present Instructure, Inc.
205 *
206 * Permission is hereby granted, free of charge, to any person obtaining a copy
207 * of this software and associated documentation files (the "Software"), to deal
208 * in the Software without restriction, including without limitation the rights
209 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
210 * copies of the Software, and to permit persons to whom the Software is
211 * furnished to do so, subject to the following conditions:
212 *
213 * The above copyright notice and this permission notice shall be included in all
214 * copies or substantial portions of the Software.
215 *
216 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
217 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
218 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
219 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
220 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
221 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
222 * SOFTWARE.
223 */
224// aliases for backwards compat:
225const within = _uiTestQueries.wrapQueryResult;
226exports.within = within;
227const wrap = _uiTestQueries.wrapQueryResult;
228exports.wrap = wrap;
229const wait = _waitForExpect.waitForExpect;
230exports.wait = wait;
\No newline at end of file