@quilted/react-testing
Advanced tools
Comparing version 0.0.0-preview-20230701024741 to 0.0.0-preview-20230819015815
@@ -17,3 +17,3 @@ import type { VNode, Component } from 'preact'; | ||
interface PreactVNode<P> extends VNode<P> { | ||
__e: typeof window['Node'] | null; | ||
__e: (typeof window)['Node'] | null; | ||
__c: PreactComponent<P> | null; | ||
@@ -20,0 +20,0 @@ __k: VNode[] | null; |
# @quilted/react-testing | ||
## 0.0.0-preview-20230701024741 | ||
## 0.0.0-preview-20230819015815 | ||
### Patch Changes | ||
- Update Preact | ||
- Update Preact dependency | ||
## 0.5.31 | ||
### Patch Changes | ||
- [`1a18edbb`](https://github.com/lemonmade/quilt/commit/1a18edbb8b69d5175ec9adf2d6c29e708f1cb8e4) Thanks [@lemonmade](https://github.com/lemonmade)! - Update Preact dependency | ||
## 0.5.30 | ||
@@ -10,0 +16,0 @@ |
{ | ||
"name": "@quilted/react-testing", | ||
"type": "module", | ||
"version": "0.0.0-preview-20230701024741", | ||
"version": "0.0.0-preview-20230819015815", | ||
"repository": { | ||
@@ -80,3 +80,3 @@ "type": "git", | ||
"expect": "^27.0.0", | ||
"preact": "^10.15.0", | ||
"preact": "^10.17.0", | ||
"react": "^18.2.0", | ||
@@ -88,3 +88,3 @@ "react-dom": "^18.2.0", | ||
"@jest/globals": "^27.0.0", | ||
"preact": "^10.15.0", | ||
"preact": "^10.17.0", | ||
"react": "^18.0.0", | ||
@@ -91,0 +91,0 @@ "react-dom": "^18.0.0", |
@@ -210,3 +210,3 @@ import {h, render as renderPreact, options} from 'preact'; | ||
// the DOM node | ||
__e: typeof window['Node'] | null; | ||
__e: (typeof window)['Node'] | null; | ||
@@ -267,2 +267,3 @@ // the component instance | ||
const PORTAL_TYPE = createPortal( | ||
// @ts-expect-error createPortal() has a weird type as of Preact 10.17 | ||
h('div', {}, 'test portal'), | ||
@@ -269,0 +270,0 @@ document.createElement('div'), |
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
Sorry, the diff of this file is not supported yet
344500
5237