Project

General

Profile

« Previous | Next » 

Revision 89b8fc37

Added by Amir Fefer over 4 years ago

Fixes #28488 - consume jest config from env

View differences:

webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/controller.test.js
import toJson from 'enzyme-to-json';
import { shallow } from 'enzyme';
import { shallow } from '@theforeman/test';
import React from 'react';
import { props } from './controller.fixtures';
......
});
it('should render controller', () => {
expect(toJson(wrapper)).toMatchSnapshot();
expect(wrapper).toMatchSnapshot();
});
});

Also available in: Unified diff