@quilted/react-testing
Advanced tools
Comparing version 0.6.9 to 0.6.10
# @quilted/react-testing | ||
## 0.6.10 | ||
### Patch Changes | ||
- [`0e01748`](https://github.com/lemonmade/quilt/commit/0e017486085aa1d45bb322c841ca213956ec983a) Thanks [@lemonmade](https://github.com/lemonmade)! - Return an extendable render function when customizing `options` | ||
- Updated dependencies [[`0e01748`](https://github.com/lemonmade/quilt/commit/0e017486085aa1d45bb322c841ca213956ec983a)]: | ||
- @quilted/preact-testing@0.1.7 | ||
## 0.6.9 | ||
@@ -4,0 +13,0 @@ |
{ | ||
"name": "@quilted/react-testing", | ||
"type": "module", | ||
"version": "0.6.9", | ||
"version": "0.6.10", | ||
"repository": { | ||
@@ -71,3 +71,3 @@ "type": "git", | ||
"dependencies": { | ||
"@quilted/preact-testing": "^0.1.5", | ||
"@quilted/preact-testing": "^0.1.7", | ||
"jest-matcher-utils": "^27.0.0" | ||
@@ -74,0 +74,0 @@ }, |
@@ -242,3 +242,3 @@ # `@quilted/react-testing` | ||
```ts | ||
import {useState} from 'react'; | ||
import {useState} from 'preact/hooks'; | ||
import {render} from '@quilted/react-testing'; | ||
@@ -532,3 +532,3 @@ | ||
```tsx | ||
import {useState} from 'react'; | ||
import {useState} from 'preact/hooks'; | ||
@@ -679,3 +679,3 @@ function MyComponent({onClick}: {onClick(id: string): void}) { | ||
```tsx | ||
import {createContext} from 'react'; | ||
import {createContext} from 'preact'; | ||
@@ -682,0 +682,0 @@ const MyContext = createContext({hello: 'world'}); |
@@ -5,3 +5,3 @@ import {defineConfig} from 'vite'; | ||
export default defineConfig({ | ||
plugins: [quiltPackage()], | ||
plugins: [quiltPackage({react: 'react'})], | ||
}); |
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
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
339541
4672