All Projects → bbc → enzyme-adapter-inferno

bbc / enzyme-adapter-inferno

Licence: other
Inferno enzyme adapter

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to enzyme-adapter-inferno

awesome-inferno
Awesome collection about the Inferno library 🔥
Stars: ✭ 70 (+337.5%)
Mutual labels:  inferno, inferno-js, infernojs
slup
🚀 Sets of Material Design components built upon Inferno
Stars: ✭ 13 (-18.75%)
Mutual labels:  inferno, inferno-js
Inferno.js-Starter
🔥 Starter for Inferno.js, +WebPack, +Redux, +Mocha
Stars: ✭ 15 (-6.25%)
Mutual labels:  inferno, inferno-js
chooj
Matrix chat app for KaiOS supporting voice calls
Stars: ✭ 44 (+175%)
Mutual labels:  inferno, infernojs
Inferno
🔥 An extremely fast, React-like JavaScript library for building modern user interfaces
Stars: ✭ 15,206 (+94937.5%)
Mutual labels:  inferno, inferno-js
Reactjs Crud Boilerplate
Live Demo
Stars: ✭ 83 (+418.75%)
Mutual labels:  enzyme
Protocol
Enzyme Protocol Implementation
Stars: ✭ 211 (+1218.75%)
Mutual labels:  enzyme
Artemis Dev Tool
An Apollo GraphQL Query Schema Testing Tool
Stars: ✭ 66 (+312.5%)
Mutual labels:  enzyme
Enzyme Adapter Preact Pure
Preact adapter for the Enzyme UI testing library
Stars: ✭ 62 (+287.5%)
Mutual labels:  enzyme
nextjs-graphql-auth
Authentication system using NextJS, GraphQL, Apollo Client, Apollo Server, MongoDB, Nginx, Docker, Docker-Compose and Kubernetes
Stars: ✭ 27 (+68.75%)
Mutual labels:  enzyme
Shallow Render
Angular testing made easy with shallow rendering and easy mocking. https://getsaf.github.io/shallow-render
Stars: ✭ 242 (+1412.5%)
Mutual labels:  enzyme
React Redux Universal Boilerplate
An Universal ReactJS/Redux Boilerplate
Stars: ✭ 165 (+931.25%)
Mutual labels:  enzyme
Enzyme.jl
Julia bindings for the Enzyme automatic differentiator
Stars: ✭ 90 (+462.5%)
Mutual labels:  enzyme
Awesome Learning
Awesome Learning - Learn JavaScript and Front-End Fundamentals at your own pace
Stars: ✭ 216 (+1250%)
Mutual labels:  enzyme
React Base
atSistemas React/Redux Isomorphic Platform
Stars: ✭ 82 (+412.5%)
Mutual labels:  enzyme
React
Extremely simple boilerplate, easiest you can find, for React application including all the necessary tools: Flow | React 16 | redux | babel 6 | webpack 3 | css-modules | jest | enzyme | express + optional: sass/scss
Stars: ✭ 244 (+1425%)
Mutual labels:  enzyme
React Adventure
⛰ React high-ending architecture & patterns ready for use. Made for big and small projects. PWA Ready.
Stars: ✭ 62 (+287.5%)
Mutual labels:  enzyme
React Pages Boilerplate
Deliver react + react-router application to gh-pages
Stars: ✭ 134 (+737.5%)
Mutual labels:  enzyme
Testing React Redux With Jest And Enzyme
React Redux Testing Template using Jest and Enzyme
Stars: ✭ 224 (+1300%)
Mutual labels:  enzyme
React Test Demo
React test demo with Jest and Enzyme
Stars: ✭ 134 (+737.5%)
Mutual labels:  enzyme

enzyme-adapter-inferno

Adapter to configure enzyme to test Inferno components

Still in development ⚠️

This adapter is missing features:

  • no shallow rendering
  • no support for context
  • no support for attachTo

Installation

npm install --save-dev enzyme-adapter-inferno

Usage

Before you run tests, configure enzyme with the adapter:

import { configure } from 'enzyme'
import InfernoEnzymeAdapter from 'enzyme-adapter-inferno'

configure({ adapter: new InfernoEnzymeAdapter() })

Then use enzyme as you would with a React component:

import InfernoComponent from 'inferno-component'
import { mount } from 'enzyme'

const wrapper = mount(Component)
wrapper.setProps({someProp: 'value'})
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].