Skip to content

Commit 38ff619

Browse files
committed
🐛 fix MucBanner tests
1 parent 54729df commit 38ff619

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/components/Banner/MucBanner.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import MucBanner from "./MucBanner.vue";
66
describe("MucBanner.vue", () => {
77
it("renders with default type", () => {
88
const wrapper = mount(MucBanner, {
9+
props: { variant: "content" },
910
slots: {
1011
default: "This is an info message",
1112
},
@@ -20,7 +21,7 @@ describe("MucBanner.vue", () => {
2021

2122
it("renders with success type", () => {
2223
const wrapper = mount(MucBanner, {
23-
props: { type: "success" },
24+
props: { variant: "content", type: "success" },
2425
slots: {
2526
default: "This is a success message",
2627
},
@@ -35,7 +36,7 @@ describe("MucBanner.vue", () => {
3536

3637
it("renders with warning type", () => {
3738
const wrapper = mount(MucBanner, {
38-
props: { type: "warning" },
39+
props: { variant: "content", type: "warning" },
3940
slots: {
4041
default: "This is a warning message",
4142
},
@@ -50,7 +51,7 @@ describe("MucBanner.vue", () => {
5051

5152
it("renders with emergency type", () => {
5253
const wrapper = mount(MucBanner, {
53-
props: { type: "emergency" },
54+
props: { variant: "content", type: "emergency" },
5455
slots: {
5556
default: "This is an emergency message",
5657
},

0 commit comments

Comments
 (0)