UNPKG

redux-search-filter

Version:

[![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][codecov-image]][codecov-url] [![npm download][download-image]][download-url]

24 lines (22 loc) 604 B
import { searchFilter, reducer, Filter, actionTypes, reset, updateFilter, setOperator, setNegated, getFilteredData } from '../index'; test('check exports', () => { expect(searchFilter).toBeInstanceOf(Function); expect(reducer).toBeInstanceOf(Function); expect(Filter).toBeInstanceOf(Function); expect(actionTypes).not.toBeUndefined(); expect(reset).toBeInstanceOf(Function); expect(updateFilter).toBeInstanceOf(Function); expect(setOperator).toBeInstanceOf(Function); expect(setNegated).toBeInstanceOf(Function); expect(getFilteredData).toBeInstanceOf(Function); });