Test deploy 2
This commit is contained in:
parent
9e58fa3919
commit
194dcdf948
1 changed files with 3 additions and 3 deletions
|
|
@ -32,7 +32,7 @@ describe("Footer.vue", () => {
|
||||||
mockDate(2025);
|
mockDate(2025);
|
||||||
|
|
||||||
const wrapper = mount(Footer);
|
const wrapper = mount(Footer);
|
||||||
expect(wrapper.text()).toBe("Glowing Fiesta 2025");
|
expect(wrapper.text()).toBe("Glowing Fiesta 2025(with auto-deploy)");
|
||||||
expect(wrapper.text()).not.toContain(" - ");
|
expect(wrapper.text()).not.toContain(" - ");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -40,7 +40,7 @@ describe("Footer.vue", () => {
|
||||||
mockDate(2034);
|
mockDate(2034);
|
||||||
|
|
||||||
const wrapper = mount(Footer);
|
const wrapper = mount(Footer);
|
||||||
expect(wrapper.text()).toBe("Glowing Fiesta 2025 - 2034");
|
expect(wrapper.text()).toBe("Glowing Fiesta 2025 - 2034(with auto-deploy)");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("has proper structure / content", () => {
|
it("has proper structure / content", () => {
|
||||||
|
|
@ -49,6 +49,6 @@ describe("Footer.vue", () => {
|
||||||
|
|
||||||
expect(footer.exists()).toBe(true);
|
expect(footer.exists()).toBe(true);
|
||||||
expect(footer.element.tagName).toBe("FOOTER");
|
expect(footer.element.tagName).toBe("FOOTER");
|
||||||
expect(wrapper.findAll("div")).toHaveLength(1);
|
expect(wrapper.findAll("div")).toHaveLength(2);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue