import * as React from "react";
import {mount} from "enzyme";
import {
FilterGroup
} from "./FilterGroup"
import {fastClick, hasClass, jsxToHTML, printPrettyHtml} from "../../__test__/TestHelpers"
describe("FilterGroup", ()=> {
beforeEach(()=> {
this.title = 'GroupTitle'
this.removeFilter = jasmine.createSpy('removeFilter')
this.removeFilters = jasmine.createSpy('removeFilters')
this.translate = (str) => `${str} translated`
this.filters = [
{value: 'A'},
{value: 'B'},
{value: 'C'},
{value: 'D'}
]
})
it("should render and behave correctly", ()=> {
this.wrapper = mount(