diff --git a/package.json b/package.json index 73dbd4f7d6f71ce74823a5ac88933351ca4d4561..dbb73d29677ed4cf5f31ea39f058afb23e37aef9 100644 --- a/package.json +++ b/package.json @@ -85,6 +85,8 @@ }, "standard": { "parser": "babel-eslint", - "env": [ "jest "] + "env": { + "jest": true + } } } diff --git a/src/client/containers/SemanticPortal.js b/src/client/containers/SemanticPortal.js index fc1126738b7d75485e9dfa3d048eff6a522ca5cc..d97b4b6438b7f3f4ba6e24a183a1375438aa48bc 100644 --- a/src/client/containers/SemanticPortal.js +++ b/src/client/containers/SemanticPortal.js @@ -498,7 +498,6 @@ SemanticPortal.propTypes = { theme: PropTypes.object.isRequired, options: PropTypes.object.isRequired, error: PropTypes.object.isRequired, - // browser: PropTypes.object.isRequired, manuscripts: PropTypes.object.isRequired, manuscriptsFacets: PropTypes.object.isRequired, manuscriptsFacetsConstrainSelf: PropTypes.object.isRequired, @@ -512,7 +511,6 @@ SemanticPortal.propTypes = { placesFacets: PropTypes.object.isRequired, collections: PropTypes.object.isRequired, expressions: PropTypes.object.isRequired, - clientSideFacetedSearch: PropTypes.object.isRequired, animationValue: PropTypes.array.isRequired, fetchResults: PropTypes.func.isRequired, fetchResultCount: PropTypes.func.isRequired, diff --git a/src/client/setupTests.js b/src/client/setupTests.js index 0d29596b57fd4f834144964e3988764614a6b87f..4fa3a18f45cc46010cb30b69f6a6c0a8b5aa9c63 100644 --- a/src/client/setupTests.js +++ b/src/client/setupTests.js @@ -1,7 +1,7 @@ -import { configure } from 'enzyme'; -import Adapter from 'enzyme-adapter-react-16'; +import { configure } from 'enzyme' +import Adapter from 'enzyme-adapter-react-16' -configure({ adapter: new Adapter() }); +configure({ adapter: new Adapter() }) const localStorageMock = { getItem: jest.fn(), @@ -9,4 +9,4 @@ const localStorageMock = { clear: jest.fn() } -global.localStorage = localStorageMock; +global.localStorage = localStorageMock