Skip to content

Instantly share code, notes, and snippets.

View MartinDawson's full-sized avatar

Martin Alex Philip Dawson MartinDawson

  • London, United Kingdom
View GitHub Profile
@matthieuprat
matthieuprat / README.md
Last active September 23, 2021 16:29
Until operator for Enzyme's shallow wrapper

Usage

import until from 'path/to/until'
import { shallow } from 'enzyme'

const EnhancedFoo = compose(
  connect(...),
  withHandlers(...),
 withContext(...)