feat: remove message from kcContextCommonMock
This commit is contained in:
parent
5156b2e0cc
commit
b742ed73aa
@ -132,10 +132,6 @@ export const kcContextCommonMock: KcContext.Common = {
|
|||||||
],
|
],
|
||||||
"currentLanguageTag": "en"
|
"currentLanguageTag": "en"
|
||||||
},
|
},
|
||||||
"message": {
|
|
||||||
"type": "success",
|
|
||||||
"summary": "This is a test message"
|
|
||||||
},
|
|
||||||
"features": {
|
"features": {
|
||||||
"authorization": true,
|
"authorization": true,
|
||||||
"identityFederation": true,
|
"identityFederation": true,
|
||||||
|
@ -234,10 +234,6 @@ export const kcContextCommonMock: KcContext.Common = {
|
|||||||
"clientId": "myApp"
|
"clientId": "myApp"
|
||||||
},
|
},
|
||||||
"scripts": [],
|
"scripts": [],
|
||||||
"message": {
|
|
||||||
"type": "success",
|
|
||||||
"summary": "This is a test message"
|
|
||||||
},
|
|
||||||
"isAppInitiatedAction": false
|
"isAppInitiatedAction": false
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,10 +22,11 @@ const meta: ComponentMeta<any> = {
|
|||||||
export default meta;
|
export default meta;
|
||||||
|
|
||||||
export const Default = () => <PageStory />;
|
export const Default = () => <PageStory />;
|
||||||
export const WithNoMessage = () => (
|
|
||||||
|
export const WithMessage = () => (
|
||||||
<PageStory
|
<PageStory
|
||||||
kcContext={{
|
kcContext={{
|
||||||
message: undefined
|
message: { type: "success", summary: "This is a test message" }
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user