UNPKG

react-with-direction

Version:

Components to provide and consume RTL or LTR direction in React

17 lines (12 loc) 350 B
import React from 'react'; import chai from 'chai'; import sinonChai from 'sinon-chai'; import sinon from 'sinon-sandbox'; import chaiEnzyme from 'chai-enzyme'; import configure from 'enzyme-adapter-react-helper'; configure({ disableLifecycleMethods: true }); chai.use(sinonChai); chai.use(chaiEnzyme()); afterEach(() => { sinon.restore(); });