enzyme-adapter-inferno
enzyme-adapter-inferno copied to clipboard
Inferno enzyme adapter
Hello. I want to add unit test for my inferno component. And I trapped by a error: `TypeError: vNode.type is not a function`. Here is my component: ```javascript import {...
Inferno 6 RC has been released which features fragments. It might break the existing tests so the adapter will maybe need a major update. The adapter should also support fragments...
While installing dependencies I received this message: ``` npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated. npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only....
Inferno adapter could replace the contents of the component with null which prevents its rendering. It could then redirect methods which try accessing its internal props, state ... to the...
`containsAllMatchingElements` does not behave correctly when comparing tags that have different properties — https://github.com/bbc/enzyme-adapter-inferno/blob/master/test/specs/ReactWrapper.spec.js#L2996 `matchesElement` has the same problem—https://github.com/bbc/enzyme-adapter-inferno/blob/master/test/specs/ReactWrapper.spec.js#L2843
Should call componentWillUnmount when `unmount` is called. Skipped test—https://github.com/bbc/enzyme-adapter-inferno/blob/master/test/specs/ReactWrapper.spec.js#L1213 Unmount method—https://github.com/bbc/enzyme-adapter-inferno/blob/master/src/InfernoEnzymeAdapter.js#L63
We need to add support for the `attachTo` method provided by enzyme. This option allows you to pass a DOM element that `mount` will attach to. Inferno caches root nodes...
Currently there is no support for `context`. All tests for `context` features have been skipped. There are no docs on context, but the API is the same as context in...