Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { createElement } from 'react'
import { render } from 'react-dom'
import { createRenderer } from 'fela'
import { RendererProvider, ThemeProvider } from 'react-fela'
import { createSnapshotFactory } from 'jest-fela-bindings'
export default createSnapshotFactory(
createElement,
render,
createRenderer(),
RendererProvider,
ThemeProvider
)
import { render } from 'inferno'
import { createElement } from 'inferno-create-element'
import { createRenderer } from 'fela'
import { RendererProvider, ThemeProvider } from 'inferno-fela'
import { createSnapshotFactory } from 'jest-fela-bindings'
export default createSnapshotFactory(
createElement,
render,
createRenderer(),
RendererProvider,
ThemeProvider
)
import { createElement, render } from 'preact'
import { createRenderer } from 'fela'
import { RendererProvider, ThemeProvider } from 'preact-fela'
import { createSnapshotFactory } from 'jest-fela-bindings'
export default createSnapshotFactory(
createElement,
render,
createRenderer(),
RendererProvider,
ThemeProvider
)