Actions
Bug #22825
closedRepositoryTypeIcon tests failing after patternfly-react upgrade
Description
> katello@1.0.0 test /Users/wraines/code/katello > jest webpack FAIL webpack/scenes/RedHatRepositories/components/__tests__/RepositoryTypeIcon.test.js ● RepositoryTypeIcon component › rendering › it should get rendered correctly expect(value).toMatchSnapshot() Received value does not match stored snapshot 1. - Snapshot + Received @@ -18,9 +18,7 @@ ] } > <ListViewIcon name="fa-2x fa fa-question" - size="sm" - type="fa" /> </OverlayTrigger> at Object.<anonymous> (webpack/scenes/RedHatRepositories/components/__tests__/RepositoryTypeIcon.test.js:17:54) at new Promise (<anonymous>) at <anonymous> ● RepositoryTypeIcon component › rendering › it should get rendered correctly when type is provided expect(value).toMatchSnapshot() Received value does not match stored snapshot 1. - Snapshot + Received @@ -18,9 +18,7 @@ ] } > <ListViewIcon name="fa-2x pficon-bundle" - size="sm" - type="fa" /> </OverlayTrigger> at Object.<anonymous> (webpack/scenes/RedHatRepositories/components/__tests__/RepositoryTypeIcon.test.js:25:54) at new Promise (<anonymous>) at <anonymous> › 2 snapshot tests failed. PASS webpack/redux/reducers/RedHatRepositories/repositorySetRepositories.test.js PASS webpack/redux/reducers/RedHatRepositories/sets.test.js PASS webpack/redux/reducers/RedHatRepositories/enabled.test.js Snapshot Summary › 2 snapshot tests failed in 1 test suite. Inspect your code changes or run with `npm test -- -u` to update them. Test Suites: 1 failed, 3 passed, 4 total Tests: 2 failed, 14 passed, 16 total Snapshots: 2 failed, 2 total Time: 2.757s
Actions