Update unit test.

This commit is contained in:
Bryan Mauger 2024-03-27 10:36:02 -04:00
parent 85fba15548
commit 5e04401720

View file

@ -18,11 +18,11 @@ describe("text-link.vue", () => {
expect(paragraph.attributes("class")).toContain("navigation-link");
});
it("Should return class footer", async () => {
it("Should return class new-window-link", async () => {
// Act
const wrapper = shallowMount(textLink, {
propsData: {
linkType: "footer",
linkType: "newWindowLink",
},
});
@ -30,7 +30,7 @@ describe("text-link.vue", () => {
const paragraph = wrapper.find("a");
// Expect
expect(paragraph.attributes("class")).toContain("footer");
expect(paragraph.attributes("class")).toContain("new-window-link");
});
it("Should return class text-small", async () => {