CSR-906 update unit test.
This commit is contained in:
parent
05f555a7d7
commit
4fb2d9b768
1 changed files with 0 additions and 8 deletions
|
|
@ -33,14 +33,6 @@ describe("modal.vue", () => {
|
||||||
});
|
});
|
||||||
expect(wrapper.html()).toEqual(expect.stringContaining(mockCmsContent["BodyText"]));
|
expect(wrapper.html()).toEqual(expect.stringContaining(mockCmsContent["BodyText"]));
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Should display footer text when FooterText is defined in the CMS", async () => {
|
|
||||||
// Act
|
|
||||||
const wrapper = shallowMount(Modal, {
|
|
||||||
mixins: [mockMixin],
|
|
||||||
});
|
|
||||||
expect(wrapper.html()).toEqual(expect.stringContaining(mockCmsContent["FooterText"]));
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const mockMixin = {
|
const mockMixin = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue