Skip to content

Commit

Permalink
Fixed snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
igoristic committed Feb 4, 2020
1 parent f00194a commit 9e3a033
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import expect from '@kbn/expect';
import { shallow } from 'enzyme';
import { ChartTarget } from './chart_target';

import { coreMock, notificationServiceMock } from '../../../../../../../src/core/public/mocks';

const props = {
seriesToShow: ['Max Heap', 'Max Heap Used'],
series: [
Expand Down Expand Up @@ -52,18 +50,7 @@ jest.mock('../../np_imports/ui/chrome', () => {
});

// TODO: Skipping for now, seems flaky in New Platform (needs more investigation)
describe.skip('Test legends to toggle series: ', () => {
beforeEach(async () => {
jest.doMock('ui/new_platform', () => ({
npSetup: {
core: {
...coreMock.createSetup(),
notifications: notificationServiceMock.createStartContract(),
},
},
}));
});

describe('Test legends to toggle series: ', () => {
const ids = props.series.map(item => item.id);

describe('props.series: ', () => {
Expand Down

0 comments on commit 9e3a033

Please sign in to comment.