Skip to content

Commit

Permalink
Fix/unit test issue main merge (#698)
Browse files Browse the repository at this point in the history
* test: try to fix issue on Main Merge Workflow

* test: try to fix issue on Main Merge Workflow
  • Loading branch information
fterra-encora authored Dec 28, 2023
1 parent 248b1f2 commit c5c2aa2
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import { describe, it, expect, afterEach } from "vitest";
import { DOMWrapper, mount, enableAutoUnmount } from "@vue/test-utils";
import { describe, it, expect, afterAll, vi } from "vitest";
import { DOMWrapper, mount } from "@vue/test-utils";
import DateInputComponent from "@/components/forms/DateInputComponent/index.vue";
import { isMinimumYearsAgo } from "@/helpers/validators/GlobalValidators";

describe("Date Input Component", () => {
enableAutoUnmount(afterEach);
afterAll(() => {
vi.clearAllTimers();
});

const id = "my-date";

const setInputValue = async (
Expand Down

0 comments on commit c5c2aa2

Please sign in to comment.