@quilted/react-testing
Advanced tools
Comparing version 0.0.0-preview-20231104071931 to 0.0.0-preview-20231104171600
import { isNode } from '../environment.tsx'; | ||
import type { CustomRender, CustomRenderResult, CustomRenderOptions, CustomRenderExtendOptions, HookRunner, Environment, EnvironmentOptions, ContextOption, RenderOption, ActionsOption } from '../environment.tsx'; | ||
import type { Node, NodeApi, Root, RootApi, HTMLNodeExtensions } from '../types.ts'; | ||
import type { EnvironmentOptions } from '../environment.tsx'; | ||
import type { HTMLNodeExtensions } from '../types.ts'; | ||
export type * from '../environment.tsx'; | ||
export type * from '../types.ts'; | ||
export { isNode }; | ||
export type { Node, NodeApi, Root, RootApi, HTMLNodeExtensions, CustomRender, CustomRenderResult, CustomRenderOptions, CustomRenderExtendOptions, HookRunner, Environment, EnvironmentOptions, ContextOption, RenderOption, ActionsOption, }; | ||
export declare const environment: Environment<HTMLNodeExtensions>; | ||
declare const render: 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: CustomRenderOptions<RenderOptions, Context_1, Context_1, Actions, Actions, HTMLNodeExtensions, Async>) => CustomRender<RenderOptions, Context_1, Actions, HTMLNodeExtensions, Async>, rendered: Set<Root<any, any, any, HTMLNodeExtensions>>, destroyAll: () => void; | ||
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; | ||
export { render, createRender, rendered, destroyAll }; | ||
@@ -9,0 +10,0 @@ type Create = Parameters<EnvironmentOptions<any, HTMLNodeExtensions>['update']>[1]; |
# @quilted/react-testing | ||
## 0.0.0-preview-20231104071931 | ||
## 0.0.0-preview-20231104171600 | ||
### Patch Changes | ||
- Fix React testing exports | ||
- Fix react testing type exports | ||
- Updated dependencies []: | ||
- @quilted/preact-testing@0.0.0-preview-20231104071931 | ||
## 0.6.2 | ||
### Patch Changes | ||
- [`9a8dfe98`](https://github.com/lemonmade/quilt/commit/9a8dfe98cf859238005cbd13fcafc107e67d123d) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix react testing type exports | ||
## 0.6.1 | ||
@@ -13,0 +16,0 @@ |
{ | ||
"name": "@quilted/react-testing", | ||
"type": "module", | ||
"version": "0.0.0-preview-20231104071931", | ||
"version": "0.0.0-preview-20231104171600", | ||
"repository": { | ||
@@ -63,3 +63,3 @@ "type": "git", | ||
"dependencies": { | ||
"@quilted/preact-testing": "0.0.0-preview-20231104071931", | ||
"@quilted/preact-testing": "^0.1.0", | ||
"jest-matcher-utils": "^27.0.0" | ||
@@ -66,0 +66,0 @@ }, |
@@ -5,21 +5,4 @@ import {createRoot, type Root as ReactDomRoot} from 'react-dom/client'; | ||
import {createEnvironment, isNode} from '../environment.tsx'; | ||
import type { | ||
CustomRender, | ||
CustomRenderResult, | ||
CustomRenderOptions, | ||
CustomRenderExtendOptions, | ||
HookRunner, | ||
Environment, | ||
EnvironmentOptions, | ||
ContextOption, | ||
RenderOption, | ||
ActionsOption, | ||
} from '../environment.tsx'; | ||
import type { | ||
Node, | ||
NodeApi, | ||
Root, | ||
RootApi, | ||
HTMLNodeExtensions, | ||
} from '../types.ts'; | ||
import type {EnvironmentOptions} from '../environment.tsx'; | ||
import type {Node, NodeApi, HTMLNodeExtensions} from '../types.ts'; | ||
@@ -32,2 +15,7 @@ import { | ||
export type * from '../environment.tsx'; | ||
export type * from '../types.ts'; | ||
export {isNode}; | ||
interface Context { | ||
@@ -38,21 +26,2 @@ root: ReactDomRoot; | ||
export {isNode}; | ||
export type { | ||
Node, | ||
NodeApi, | ||
Root, | ||
RootApi, | ||
HTMLNodeExtensions, | ||
CustomRender, | ||
CustomRenderResult, | ||
CustomRenderOptions, | ||
CustomRenderExtendOptions, | ||
HookRunner, | ||
Environment, | ||
EnvironmentOptions, | ||
ContextOption, | ||
RenderOption, | ||
ActionsOption, | ||
}; | ||
export const environment = createEnvironment<Context, HTMLNodeExtensions>({ | ||
@@ -59,0 +28,0 @@ act, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
288576
3424
+ Added@quilted/preact-testing@0.1.7(transitive)
- Removed@quilted/preact-testing@0.0.0-preview-20231104071931(transitive)