diff --git a/frontend/src/component/archive/__tests__/archive-list-component-test.jsx b/frontend/src/component/archive/__tests__/archive-list-component-test.jsx index 6290dc20dc..67e4f7ed69 100644 --- a/frontend/src/component/archive/__tests__/archive-list-component-test.jsx +++ b/frontend/src/component/archive/__tests__/archive-list-component-test.jsx @@ -1,38 +1,36 @@ -import React from 'react'; +// import React from 'react'; -import ArchiveList from '../archive-list-component'; -import renderer from 'react-test-renderer'; +// import ArchiveList from '../archive-list-component'; +// import renderer from 'react-test-renderer'; jest.mock('react-mdl'); -const archive = [ - { - name: 'adin-pay-confirm-disabled', - description: 'Disables the confirm-functionality from API', - enabled: false, - strategies: [{ name: 'default', parameters: {} }], - createdAt: '2016-10-25T15:38:28.573Z', - reviveName: 'adin-pay-confirm-disabled', - }, - { - name: 'adin-pay-platform-sch-payment', - description: 'Enables use of schibsted payment from order-payment-management', - enabled: true, - strategies: [{ name: 'default', parameters: {} }], - createdAt: '2016-08-03T12:41:35.631Z', - reviveName: 'adin-pay-platform-sch-payment', - }, -]; +// const archive = [ +// { +// name: 'adin-pay-confirm-disabled', +// description: 'Disables the confirm-functionality from API', +// enabled: false, +// strategies: [{ name: 'default', parameters: {} }], +// createdAt: '2016-10-25T15:38:28.573Z', +// reviveName: 'adin-pay-confirm-disabled', +// }, +// { +// name: 'adin-pay-platform-sch-payment', +// description: 'Enables use of schibsted payment from order-payment-management', +// enabled: true, +// strategies: [{ name: 'default', parameters: {} }], +// createdAt: '2016-08-03T12:41:35.631Z', +// reviveName: 'adin-pay-platform-sch-payment', +// }, +// ]; // todo: fix snapshot test test('renders correctly with no archived toggles', () => { - //const tree = renderer.create().toJSON(); - - //expect(tree).toMatchSnapshot(); + // const tree = renderer.create().toJSON(); + // expect(tree).toMatchSnapshot(); }); test('renders correctly with archived toggles', () => { - //const tree = renderer.create().toJSON(); - - //expect(tree).toMatchSnapshot(); + // const tree = renderer.create().toJSON(); + // expect(tree).toMatchSnapshot(); });