Test: useChrome() mocks isBeta() returns true
The previous commit adjusts the necessary feature flags to expose the new blueprints table and V2 wizard in stage-preview. This causes tests where isBeta() == false to fail. This commit changes the relevant useChrome() mocks such that isBeta() returns true.
This commit is contained in:
parent
c81ac76ea8
commit
d6016519e5
8 changed files with 8 additions and 8 deletions
|
|
@ -19,7 +19,7 @@ import '@testing-library/jest-dom';
|
|||
|
||||
jest.mock('@redhat-cloud-services/frontend-components/useChrome', () => ({
|
||||
useChrome: () => ({
|
||||
isBeta: () => false,
|
||||
isBeta: () => true,
|
||||
isProd: () => true,
|
||||
getEnvironment: () => 'prod',
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue