@quilted/react-testing
Advanced tools
Comparing version 0.0.0-preview-20240406213127 to 0.0.0-preview-20240407012536
@@ -9,5 +9,5 @@ import type { Ref, ReactElement } from 'react'; | ||
export declare const HookRunner: <HookResult>(props: Props<HookResult> & { | ||
ref?: Ref<ImperativeApi<HookResult>> | undefined; | ||
ref?: Ref<ImperativeApi<HookResult>>; | ||
}) => ReactElement | null; | ||
export {}; | ||
//# sourceMappingURL=HookRunner.d.ts.map |
@@ -8,3 +8,3 @@ import { isNode } from '../environment.tsx'; | ||
export declare const environment: import("../environment.tsx").Environment<HTMLNodeExtensions>; | ||
declare const render: import("../environment.tsx").CustomRender<import("../types.ts").EmptyObject, import("../types.ts").EmptyObject, import("../types.ts").EmptyObject, HTMLNodeExtensions, false>, createRender: <RenderOptions extends import("../types.ts").PlainObject = import("../types.ts").EmptyObject, Context_1 extends import("../types.ts").PlainObject = import("../types.ts").EmptyObject, Actions extends import("../types.ts").PlainObject = import("../types.ts").EmptyObject, Async extends boolean = false>(options: import("../environment.tsx").CustomRenderOptions<RenderOptions, Context_1, Context_1, Actions, Actions, HTMLNodeExtensions, Async>) => import("../environment.tsx").CustomRender<RenderOptions, Context_1, Actions, HTMLNodeExtensions, Async>, rendered: Set<import("../types.ts").Root<any, any, any, HTMLNodeExtensions>>, destroyAll: () => void; | ||
declare const render: import("../environment.tsx").CustomRender<import("../types.ts").EmptyObject, import("../types.ts").EmptyObject, import("../types.ts").EmptyObject, HTMLNodeExtensions, false>, createRender: <RenderOptions extends import("../types.ts").PlainObject = import("../types.ts").EmptyObject, Context extends import("../types.ts").PlainObject = import("../types.ts").EmptyObject, Actions extends import("../types.ts").PlainObject = import("../types.ts").EmptyObject, Async extends boolean = false>(options: import("../environment.tsx").CustomRenderOptions<RenderOptions, Context, Context, Actions, Actions, HTMLNodeExtensions, Async>) => import("../environment.tsx").CustomRender<RenderOptions, Context, Actions, HTMLNodeExtensions, Async>, rendered: Set<import("../types.ts").Root<any, any, any, HTMLNodeExtensions>>, destroyAll: () => void; | ||
export { render, createRender, rendered, destroyAll }; | ||
@@ -11,0 +11,0 @@ type Create = Parameters<EnvironmentOptions<any, HTMLNodeExtensions>['update']>[1]; |
import type { CustomRender, CustomRenderResult, CustomRenderOptions, CustomRenderExtendOptions, HookRunner, Environment, EnvironmentOptions, ContextOption, RenderOption, ActionsOption } from '../environment.tsx'; | ||
export type { CustomRender, CustomRenderResult, CustomRenderOptions, CustomRenderExtendOptions, HookRunner, Environment, EnvironmentOptions, ContextOption, RenderOption, ActionsOption, }; | ||
export declare const environment: Environment<import("./react-dom.ts").EmptyObject>; | ||
declare const render: CustomRender<import("./react-dom.ts").EmptyObject, import("./react-dom.ts").EmptyObject, import("./react-dom.ts").EmptyObject, import("./react-dom.ts").EmptyObject, false>, createRender: <RenderOptions extends import("./react-dom.ts").PlainObject = import("./react-dom.ts").EmptyObject, Context_1 extends import("./react-dom.ts").PlainObject = import("./react-dom.ts").EmptyObject, Actions extends import("./react-dom.ts").PlainObject = import("./react-dom.ts").EmptyObject, Async extends boolean = false>(options: CustomRenderOptions<RenderOptions, Context_1, Context_1, Actions, Actions, import("./react-dom.ts").EmptyObject, Async>) => CustomRender<RenderOptions, Context_1, Actions, import("./react-dom.ts").EmptyObject, Async>, rendered: Set<import("../types.ts").Root<any, any, any, import("./react-dom.ts").EmptyObject>>, destroyAll: () => void; | ||
declare const render: CustomRender<import("./react-dom.ts").EmptyObject, import("./react-dom.ts").EmptyObject, import("./react-dom.ts").EmptyObject, import("./react-dom.ts").EmptyObject, false>, createRender: <RenderOptions extends import("./react-dom.ts").PlainObject = import("./react-dom.ts").EmptyObject, Context extends import("./react-dom.ts").PlainObject = import("./react-dom.ts").EmptyObject, Actions extends import("./react-dom.ts").PlainObject = import("./react-dom.ts").EmptyObject, Async extends boolean = false>(options: CustomRenderOptions<RenderOptions, Context, Context, Actions, Actions, import("./react-dom.ts").EmptyObject, Async>) => CustomRender<RenderOptions, Context, Actions, import("./react-dom.ts").EmptyObject, Async>, rendered: Set<import("../types.ts").Root<any, any, any, import("./react-dom.ts").EmptyObject>>, destroyAll: () => void; | ||
export { render, createRender, rendered, destroyAll }; | ||
//# sourceMappingURL=test-renderer.d.ts.map |
# @quilted/react-testing | ||
## 0.0.0-preview-20240406213127 | ||
## 0.0.0-preview-20240407012536 | ||
@@ -9,4 +9,6 @@ ### Patch Changes | ||
- Upgrade Preact and signal dependencies | ||
- Updated dependencies []: | ||
- @quilted/preact-testing@0.0.0-preview-20240406213127 | ||
- @quilted/preact-testing@0.0.0-preview-20240407012536 | ||
@@ -19,2 +21,4 @@ ## 0.6.8 | ||
- [`ccf29286`](https://github.com/lemonmade/quilt/commit/ccf2928633719c38b30cd3712fe132c6bd5fd2a0) Thanks [@lemonmade](https://github.com/lemonmade)! - Upgrade Preact and signal dependencies | ||
## 0.6.7 | ||
@@ -21,0 +25,0 @@ |
{ | ||
"name": "@quilted/react-testing", | ||
"type": "module", | ||
"version": "0.0.0-preview-20240406213127", | ||
"version": "0.0.0-preview-20240407012536", | ||
"repository": { | ||
@@ -71,3 +71,3 @@ "type": "git", | ||
"dependencies": { | ||
"@quilted/preact-testing": "0.0.0-preview-20240406213127", | ||
"@quilted/preact-testing": "0.0.0-preview-20240407012536", | ||
"jest-matcher-utils": "^27.0.0" | ||
@@ -78,3 +78,3 @@ }, | ||
"expect": "^29.0.0", | ||
"preact": "^10.19.0", | ||
"preact": "^10.20.0", | ||
"react": "^18.2.0", | ||
@@ -85,3 +85,3 @@ "react-dom": "^18.2.0", | ||
"peerDependencies": { | ||
"preact": "^10.19.0", | ||
"preact": "^10.20.0", | ||
"react": "^18.0.0", | ||
@@ -88,0 +88,0 @@ "react-dom": "^18.0.0", |
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
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
335508
+ Added@quilted/preact-testing@0.0.0-preview-20240407012536(transitive)
- Removed@quilted/preact-testing@0.0.0-preview-20240406213127(transitive)