protocol/packages/instant/test/components/zero_ex_instant.test.tsx
2018-10-16 16:20:23 -07:00

16 lines
459 B
TypeScript

import { configure, shallow } from 'enzyme';
import * as Adapter from 'enzyme-adapter-react-16';
import * as React from 'react';
configure({ adapter: new Adapter() });
// TODO: Write non-trivial tests.
// At time of writing we cannot render ZeroExInstant
// because we are looking for a provider on window.
// But in the future it will be dependency injected.
describe('<Test />', () => {
it('runs a test', () => {
shallow(<div />);
});
});