Sha256: 456068dd57d8c0479c6b72480d2e136bc19a8ed0038228daf963ae34f027687d
Contents?: true
Size: 455 Bytes
Versions: 5
Compression:
Stored size: 455 Bytes
Contents
import React from 'react'; import { shallow } from '@theforeman/test'; import ForemanTasksRoutes from './ForemanTasksRoutes'; describe('ForemanTasksRoutes', () => { it('should create routes', () => { Object.entries(ForemanTasksRoutes).forEach(([key, Route]) => { const component = shallow(<Route.render history={{}} some="props" />); Route.renderResult = component; }); expect(ForemanTasksRoutes).toMatchSnapshot(); }); });
Version data entries
5 entries across 5 versions & 1 rubygems