-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* bannerMessages, context, bundle api call, logic into hook * productView, context, move banner under product columns * redux, clean up unused hooks for actions, remove selectors * rhsmTransformers, cloudigradeHasMismatch
- Loading branch information
Showing
22 changed files
with
318 additions
and
892 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
src/components/bannerMessages/__tests__/__snapshots__/bannerMessagesContext.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`BannerMessagesContext should apply a hook for retrieving messages data from a selectors: error response 1`] = ` | ||
Object { | ||
"data": Object { | ||
"cloudigradeMismatch": false, | ||
}, | ||
"error": true, | ||
"fulfilled": undefined, | ||
"pending": undefined, | ||
} | ||
`; | ||
|
||
exports[`BannerMessagesContext should apply a hook for retrieving messages data from a selectors: mock store error response 1`] = ` | ||
Object { | ||
"data": Object { | ||
"cloudigradeMismatch": false, | ||
}, | ||
"error": true, | ||
"fulfilled": false, | ||
"pending": false, | ||
} | ||
`; | ||
|
||
exports[`BannerMessagesContext should apply a hook for retrieving messages data from a selectors: mock store success response 1`] = ` | ||
Object { | ||
"data": Object { | ||
"cloudigradeMismatch": true, | ||
}, | ||
"error": false, | ||
"fulfilled": true, | ||
"pending": false, | ||
} | ||
`; | ||
|
||
exports[`BannerMessagesContext should apply a hook for retrieving messages data from a selectors: success response 1`] = ` | ||
Object { | ||
"data": Object { | ||
"cloudigradeMismatch": false, | ||
}, | ||
"error": undefined, | ||
"fulfilled": true, | ||
"pending": undefined, | ||
} | ||
`; | ||
|
||
exports[`BannerMessagesContext should return specific properties: specific properties 1`] = ` | ||
Object { | ||
"useGetAppMessages": [Function], | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.