Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/windyGex/preact-test-utils
Mock react-test-utils method enzyme used for preact.
https://github.com/windyGex/preact-test-utils
Last synced: 2 months ago
JSON representation
Mock react-test-utils method enzyme used for preact.
- Host: GitHub
- URL: https://github.com/windyGex/preact-test-utils
- Owner: windyGex
- License: mit
- Created: 2017-02-09T02:11:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-25T11:02:38.000Z (almost 6 years ago)
- Last Synced: 2024-08-02T06:19:20.341Z (5 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE
Awesome Lists containing this project
- awesome-preact - Preact Test Utils - Mock react-test-utils enzyme in preact. (Uncategorized / Uncategorized)
README
# Preact Test Utils
## Install
```shell
npm install preact-test-utils --save
```## Usage with Webpack
All you have to do is add an alias for `react-addons-test-utils`
```js
{
'react-addons-test-utils': 'preact-test-utils'
}
```