Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@testing-library/dom

Package Overview
Dependencies
Maintainers
16
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testing-library/dom - npm Package Compare versions

Comparing version 7.26.1 to 7.26.2

2

package.json
{
"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 @@ >

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc