Updated some unit tests.

This commit is contained in:
Jeremy Zimmerman 2022-11-09 12:52:57 -05:00
parent 09af8b4025
commit 2cbafd4b58

View file

@ -1,6 +1,7 @@
import axios from 'axios';
import globalMethods from "@/global-methods";
import analyticsMixIn from "@/mixins/analytics-mixin";
import { getMountOptions } from "@/helpers/unit-test-helper.js";
//Mock external dependencies
jest.mock("axios");
@ -45,6 +46,8 @@ it("Global Methods - Call Http Client - Should Resolve Promise", () => {
}) {
//Clear node module
axios.mockClear();
const mountOptions = getMountOptions();
// Success Response
const response = {