From 6acbc6821778c75a980fe598bdd3d230b0fa5482 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Wed, 13 Mar 2024 14:17:25 -0400 Subject: [PATCH] Fix failing client unit test. --- .../WorkflowInvocationSummary.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/components/WorkflowInvocationState/WorkflowInvocationSummary.test.js b/client/src/components/WorkflowInvocationState/WorkflowInvocationSummary.test.js index eafa5a84b1a0..d358a8483eda 100644 --- a/client/src/components/WorkflowInvocationState/WorkflowInvocationSummary.test.js +++ b/client/src/components/WorkflowInvocationState/WorkflowInvocationSummary.test.js @@ -1,4 +1,4 @@ -import { shallowMount } from "@vue/test-utils"; +import { mount } from "@vue/test-utils"; import { getLocalVue } from "tests/jest/helpers"; import invocationData from "../Workflow/test/json/invocation.json"; @@ -16,7 +16,7 @@ describe("WorkflowInvocationSummary.vue with terminal invocation", () => { invocationAndJobTerminal: true, invocationSchedulingTerminal: true, }; - wrapper = shallowMount(WorkflowInvocationSummary, { + wrapper = mount(WorkflowInvocationSummary, { propsData, localVue, }); @@ -43,7 +43,7 @@ describe("WorkflowInvocationSummary.vue with invocation scheduling running", () invocationAndJobTerminal: false, invocationSchedulingTerminal: false, }; - wrapper = shallowMount(WorkflowInvocationSummary, { + wrapper = mount(WorkflowInvocationSummary, { store, propsData, localVue,