Adjust event name in the test
This commit is contained in:
parent
7a3a6e5d19
commit
a83730226d
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ describe("site-footer.vue", () => {
|
|||
});
|
||||
wrapper.vm.buttonClick();
|
||||
// Assert
|
||||
expect(wrapper.emitted()["ForwardClicked"][0]).toHaveBeenCalled;
|
||||
expect(wrapper.emitted()["forwardClicked"][0]).toHaveBeenCalled;
|
||||
});
|
||||
|
||||
it("Should emit BackClicked on link click", async () => {
|
||||
|
|
@ -19,7 +19,7 @@ describe("site-footer.vue", () => {
|
|||
});
|
||||
wrapper.vm.linkClick();
|
||||
// Assert
|
||||
expect(wrapper.emitted()["BackClicked"][0]).toHaveBeenCalled;
|
||||
expect(wrapper.emitted()["backClicked"][0]).toHaveBeenCalled;
|
||||
});
|
||||
|
||||
it("Should change button text when update button text is called", async () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue