Closed dlabrecq closed 5 years ago
A draft PR with the latest packages can be found here: https://github.com/project-koku/koku-ui/pull/758
Added the following to jest.config.ts and all appears to be well now.
moduleNameMapper: {
'\\.(css|less)$': '<rootDir>/test/styleMock.js',
},
Need to add this to our release notes, just in case...
Many of the JEST tests are failing in Cost Management with the latest PatternFly packages. We've updated our snapshots, but still have 25 failing tests. For example:
Seems to happen for any test that imports:
import { css } from '@patternfly/react-styles';
Could be an issue for the Cost Management UI to solve, but we haven't made any changes to our tests. Still investigating with the UI to see if there's something we need to do on our end, but want to start tracking the issue.