Update unit test.
This commit is contained in:
parent
85fba15548
commit
5e04401720
1 changed files with 3 additions and 3 deletions
|
|
@ -18,11 +18,11 @@ describe("text-link.vue", () => {
|
||||||
expect(paragraph.attributes("class")).toContain("navigation-link");
|
expect(paragraph.attributes("class")).toContain("navigation-link");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Should return class footer", async () => {
|
it("Should return class new-window-link", async () => {
|
||||||
// Act
|
// Act
|
||||||
const wrapper = shallowMount(textLink, {
|
const wrapper = shallowMount(textLink, {
|
||||||
propsData: {
|
propsData: {
|
||||||
linkType: "footer",
|
linkType: "newWindowLink",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -30,7 +30,7 @@ describe("text-link.vue", () => {
|
||||||
const paragraph = wrapper.find("a");
|
const paragraph = wrapper.find("a");
|
||||||
|
|
||||||
// Expect
|
// Expect
|
||||||
expect(paragraph.attributes("class")).toContain("footer");
|
expect(paragraph.attributes("class")).toContain("new-window-link");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Should return class text-small", async () => {
|
it("Should return class text-small", async () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue