Skip to content
Snippets Groups Projects
Unverified Commit d9a787ea authored by Jack Reed's avatar Jack Reed Committed by GitHub
Browse files

Merge pull request #3149 from ProjectMirador/update-dependencies

Update dependencies
parents 7297a109 5c97cfe9
No related branches found
No related tags found
No related merge requests found
Showing
with 4 additions and 20 deletions
......@@ -27,6 +27,8 @@
"sort-keys": ["error", "asc", {
"caseSensitive": false,
"natural": false
}]
}],
"react/jsx-props-no-spreading": "off",
"arrow-parens": "off",
}
}
describe('add two plugins to <WorkspaceControlPanelButtons>', () => {
beforeAll(async () => {
await page.goto('http://127.0.0.1:4488/__tests__/integration/mirador/plugins/add.html');
......
describe('add plugins for companion windows', () => {
beforeAll(async () => {
await page.goto('http://127.0.0.1:4488/__tests__/integration/mirador/plugins/companionWindow.html');
......
describe('try to apply 2 add plugins and 2 wrap plugins to <WorkspaceControlPanelButtons>', () => {
beforeAll(async () => {
await page.goto('http://127.0.0.1:4488/__tests__/integration/mirador/plugins/priority.html');
......
describe('pass valid and invalid plugins to <WorkspaceControlPanelButtons>', () => {
beforeAll(async () => {
await page.goto('http://127.0.0.1:4488/__tests__/integration/mirador/plugins/validate.html');
......
describe('wrap <WorkspaceControlPanelButtons> by a plugin', () => {
beforeAll(async () => {
await page.goto('http://127.0.0.1:4488/__tests__/integration/mirador/plugins/wrap.html');
......
......@@ -249,7 +249,6 @@ describe('window actions', () => {
});
});
describe('setWindowThumbnailPosition', () => {
it('returns the appropriate action type', () => {
const id = 'abc123';
......
......@@ -15,7 +15,6 @@ jest.mock('react-dom');
jest.mock('openseadragon');
jest.mock('../../../src/lib/OpenSeadragonCanvasOverlay');
describe('AnnotationsOverlay', () => {
let wrapper;
let viewer;
......
......@@ -2,7 +2,7 @@ import React from 'react';
import { shallow } from 'enzyme';
import Typography from '@material-ui/core/Typography';
import Link from '@material-ui/core/Link';
import Img from 'react-image';
import { Img } from 'react-image';
import { AttributionPanel } from '../../../src/components/AttributionPanel';
import { LabelValueMetadata } from '../../../src/components/LabelValueMetadata';
......
......@@ -41,7 +41,6 @@ describe('CanvasAnnotations', () => {
},
];
it('renders a heading with the appropriate context based on index and totalSize', () => {
wrapper = createWrapper({ annotations });
......
......@@ -32,7 +32,6 @@ describe('LanguageSettings', () => {
},
];
it('renders a list with a list item for each language passed in props', () => {
wrapper = createWrapper({ languages });
......
......@@ -40,7 +40,6 @@ describe('LocalePicker', () => {
expect(wrapper.find(MenuItem).length).toBe(2);
});
it('triggers setLocale prop when clicking a list item', () => {
const setLocale = jest.fn();
......
......@@ -13,7 +13,6 @@ function createWrapper(props) {
);
}
describe('ManifestForm', () => {
it('renders', () => {
const wrapper = createWrapper({ addResourcesOpen: false });
......
......@@ -10,7 +10,6 @@ const canvases = Utils.parseManifest(fixture).getSequences()[0].getCanvases();
jest.mock('openseadragon');
describe('OpenSeadragonViewer', () => {
let wrapper;
let updateViewport;
......
......@@ -3,7 +3,6 @@ import { shallow } from 'enzyme';
import { SearchHit } from '../../../src/components/SearchHit';
import { ScrollTo } from '../../../src/components/ScrollTo';
/**
* Helper function to create a shallow wrapper around SearchResults
*/
......
......@@ -5,7 +5,6 @@ import CompanionWindow from '../../../src/containers/CompanionWindow';
import SearchResults from '../../../src/containers/SearchResults';
import { SearchPanel } from '../../../src/components/SearchPanel';
/**
* Helper function to create a shallow wrapper around SearchPanel
*/
......
......@@ -2,7 +2,6 @@ import React from 'react';
import { shallow } from 'enzyme';
import { SearchPanelNavigation } from '../../../src/components/SearchPanelNavigation';
/**
* Helper function to create a shallow wrapper around SearchPanelNavigation
*/
......
......@@ -4,7 +4,6 @@ import Button from '@material-ui/core/Button';
import { SearchResults } from '../../../src/components/SearchResults';
import { ScrollTo } from '../../../src/components/ScrollTo';
/**
* Helper function to create a shallow wrapper around SearchResults
*/
......
......@@ -3,7 +3,6 @@ import {
addPluginReducersToStore,
} from '../../../src/extend/pluginPreprocessing';
describe('filterValidPlugins', () => {
it('returns empty array if plugin array is empty', () => {
expect(filterValidPlugins([])).toEqual([]);
......
......@@ -3,7 +3,6 @@ import { mount } from 'enzyme';
import { withPlugins } from '../../../src/extend/withPlugins';
import PluginContext from '../../../src/extend/PluginContext';
/** Mock target component */
const Target = props => <div>Hello</div>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment