Unit test
This commit is contained in:
parent
9cc683dc73
commit
472d17557f
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ describe("salesforceWebchat.vue", () => {
|
|||
|
||||
applicationConfig.CURRENT_ENVIRONMENT = "QA";
|
||||
wrapper = shallowMount(salesforceWebchat);
|
||||
const mockQa = jest.spyOn(qaHelper, "initializeSalesforceWebchatForQa");
|
||||
const mockQa = jest.spyOn(qaHelper, "initializeSalesforceWebchatForSys");
|
||||
wrapper.vm.initializeSalesforceWebchat();
|
||||
expect(mockQa).toHaveBeenCalled();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue