@testing-library/dom
Advanced tools
Comparing version 7.26.1 to 7.26.2
{ | ||
"name": "@testing-library/dom", | ||
"version": "7.26.1", | ||
"version": "7.26.2", | ||
"description": "Simple and complete DOM testing utilities that encourage good testing practices.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -300,2 +300,3 @@ <div align="center"> | ||
<td align="center"><a href="https://github.com/balavishnuvj"><img src="https://avatars3.githubusercontent.com/u/13718688?v=4" width="100px;" alt=""/><br /><sub><b>balavishnuvj</b></sub></a><br /><a href="https://github.com/testing-library/dom-testing-library/commits?author=balavishnuvj" title="Code">💻</a></td> | ||
<td align="center"><a href="https://chriscolborne.com"><img src="https://avatars2.githubusercontent.com/u/101371?v=4" width="100px;" alt=""/><br /><sub><b>Chris Colborne</b></sub></a><br /><a href="https://github.com/testing-library/dom-testing-library/commits?author=zorfling" title="Code">💻</a></td> | ||
</tr> | ||
@@ -302,0 +303,0 @@ </table> |
@@ -83,2 +83,7 @@ import { | ||
findByAutomationId(element, 'id', {}, {timeout: 1000}) | ||
// test optional params too | ||
findAllByAutomationId(element, 'id', {}) | ||
findByAutomationId(element, 'id', {}) | ||
findAllByAutomationId(element, 'id') | ||
findByAutomationId(element, 'id') | ||
} | ||
@@ -85,0 +90,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { Matcher, MatcherOptions } from './matches' | ||
import { waitForOptions } from './wait-for' | ||
import {Matcher, MatcherOptions} from './matches' | ||
import {waitForOptions} from './wait-for' | ||
@@ -42,3 +42,3 @@ export interface SelectorMatcherOptions extends MatcherOptions { | ||
export type FindAllBy<Arguments extends any[]> = QueryMethod< | ||
[Arguments[0], Arguments[1], waitForOptions], | ||
[Arguments[0], Arguments[1]?, waitForOptions?], | ||
Promise<HTMLElement[]> | ||
@@ -48,3 +48,3 @@ > | ||
export type FindBy<Arguments extends any[]> = QueryMethod< | ||
[Arguments[0], Arguments[1], waitForOptions], | ||
[Arguments[0], Arguments[1]?, waitForOptions?], | ||
Promise<HTMLElement> | ||
@@ -51,0 +51,0 @@ > |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2909917
24254
361