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

@quilted/preact-testing

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quilted/preact-testing - npm Package Compare versions

Comparing version 0.0.0-preview-20231104064716 to 0.0.0-preview-20231104071931

12

build/typescript/matchers.d.ts

@@ -14,2 +14,6 @@ import type { ComponentType, Context } from 'preact';

toContainPreactText(text: string): R;
toContainPreactHTML(text: string): R;
toHavePreactDataProps(data: {
[key: string]: string;
}): R;
}

@@ -22,10 +26,2 @@ export declare const matchers: {

toContainPreactText: typeof toContainPreactText;
};
export interface CustomDOMMatchers<R = unknown> {
toContainPreactHTML(text: string): R;
toHavePreactDataProps(data: {
[key: string]: string;
}): R;
}
export declare const domMatchers: {
toContainPreactHTML: typeof toContainPreactHTML;

@@ -32,0 +28,0 @@ toHavePreactDataProps: typeof toHavePreactDataProps;

# @quilted/react-testing
## 0.0.0-preview-20231104064716
## 0.0.0-preview-20231104071931

@@ -15,3 +15,3 @@ ### Patch Changes

- [`c2b06042`](https://github.com/lemonmade/quilt/commit/c2b060422dce5b5b643ca153f65e64efb5504e3f) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix custom matcher equality testing
- [`4bf3e6ad`](https://github.com/lemonmade/quilt/commit/4bf3e6ade2922fe5de175b07fdaf21bb679895bf) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix custom matcher equality testing

@@ -18,0 +18,0 @@ - [`4df2d665`](https://github.com/lemonmade/quilt/commit/4df2d665ae22201afa86e7a5f214f73f5428ea4e) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix React testing exports

{
"name": "@quilted/preact-testing",
"type": "module",
"version": "0.0.0-preview-20231104064716",
"version": "0.0.0-preview-20231104071931",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -29,2 +29,4 @@ import type {ComponentType, Context} from 'preact';

toContainPreactText(text: string): R;
toContainPreactHTML(text: string): R;
toHavePreactDataProps(data: {[key: string]: string}): R;
}

@@ -38,12 +40,4 @@

toContainPreactText,
};
export interface CustomDOMMatchers<R = unknown> {
toContainPreactHTML(text: string): R;
toHavePreactDataProps(data: {[key: string]: string}): R;
}
export const domMatchers = {
toContainPreactHTML,
toHavePreactDataProps,
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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