From 5d6e3d01134f72f751a1e9c11bc4b90435eac57f Mon Sep 17 00:00:00 2001 From: Will Sheldon <114631109+wssheldon@users.noreply.github.com> Date: Wed, 6 Dec 2023 08:29:28 -0800 Subject: [PATCH] Remove mocked case api for now --- .../static/dispatch/src/tests/CaseStatusSelectGroup.spec.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/dispatch/static/dispatch/src/tests/CaseStatusSelectGroup.spec.js b/src/dispatch/static/dispatch/src/tests/CaseStatusSelectGroup.spec.js index 799514eaf994..47ee1f2e0068 100644 --- a/src/dispatch/static/dispatch/src/tests/CaseStatusSelectGroup.spec.js +++ b/src/dispatch/static/dispatch/src/tests/CaseStatusSelectGroup.spec.js @@ -5,7 +5,6 @@ import * as components from "vuetify/components" import * as directives from "vuetify/directives" import { describe, expect, it, vi, afterEach, beforeEach } from "vitest" import CaseStatusSelectGroup from "@/case/CaseStatusSelectGroup.vue" -import CaseApi from "@/case/api" const vuetify = createVuetify({ components, @@ -43,9 +42,6 @@ describe("CaseStatusSelectGroup", () => { }, }) - // Mock the API - mockUpdate = vi.spyOn(CaseApi, "update").mockImplementation(() => Promise.resolve()) - // Mount the component wrapper = mount(CaseStatusSelectGroup, { props: {