We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9663c5e commit 38b01b7Copy full SHA for 38b01b7
lib/typedefs.ts
@@ -1,6 +1,7 @@
1
import {
2
Matcher,
3
ByRoleOptions as TestingLibraryByRoleOptions,
4
+ Config as TestingLibraryConfig,
5
MatcherOptions as TestingLibraryMatcherOptions,
6
SelectorMatcherOptions as TestingLibrarySelectorMatcherOptions,
7
waitForOptions,
@@ -189,7 +190,7 @@ export interface Queries extends QueryMethods {
189
190
getNodeText(el: Element): Promise<string>
191
}
192
-export interface ConfigurationOptions {
193
- testIdAttribute: string
194
- asyncUtilTimeout: number
195
-}
+export type ConfigurationOptions = Pick<
+ TestingLibraryConfig,
+ 'testIdAttribute' | 'asyncUtilTimeout'
196
+>
0 commit comments