Socket
Socket
Sign inDemoInstall

@testing-library/react

Package Overview
Dependencies
Maintainers
10
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testing-library/react - npm Package Compare versions

Comparing version 8.0.3 to 8.0.4

2

package.json
{
"name": "@testing-library/react",
"version": "8.0.3",
"version": "8.0.4",
"description": "Simple and complete React DOM testing utilities that encourage good testing practices.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -1,19 +0,5 @@

import {queries, BoundFunction} from '@testing-library/dom'
import {queries, Queries, BoundFunction} from '@testing-library/dom'
export * from '@testing-library/dom'
interface Query extends Function {
(container: HTMLElement, ...args: any[]):
| Error
| Promise<HTMLElement[]>
| Promise<HTMLElement>
| HTMLElement[]
| HTMLElement
| null
}
export interface Queries {
[T: string]: Query
}
export type RenderResult<Q extends Queries = typeof queries> = {

@@ -20,0 +6,0 @@ container: HTMLElement

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc