UNPKG

react-algolia-places

Version:

A simple but powerful React.js wrapper around fantastic Algolia's place !

16 lines (9 loc) 324 B
import React from 'react'; import { shallow, mount, render } from 'enzyme'; import Place from '../src/Place' describe('Suite of test for Place : ', () => { it('check if the component exist', () => { const wrapper = render(<Place onChange={(o) => console.log(o)}/>); expect(wrapper).not.toBeNull(); }); });