Skip to content

Commit b92654c

Browse files
committed
fix: remove flaky test
1 parent 91608d0 commit b92654c

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

apps/client/tests/utils.test.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import { ValueLicenseType, WhitelistStatus } from "@snailycad/types";
33
import { describe, expect, test } from "vitest";
44
import {
5-
calculateAge,
65
yesOrNoText,
76
formatDate,
87
formatCitizenAddress,
@@ -20,19 +19,6 @@ import {
2019
soundCamelCaseToKebabCase,
2120
} from "../src/lib/utils";
2221

23-
const DOB_1 = "1999-03-02";
24-
const DOB_2 = "1953-10-21";
25-
26-
describe("calculateAge", () => {
27-
test("Should correctly calculate age", () => {
28-
expect(calculateAge(DOB_1)).toMatchInlineSnapshot('"25"');
29-
});
30-
31-
test("Should correctly calculate age", () => {
32-
expect(calculateAge(DOB_2)).toMatchInlineSnapshot('"70"');
33-
});
34-
});
35-
3622
describe("yesOrNoText", () => {
3723
test("Should return 'yes' -> true", () => {
3824
expect(yesOrNoText(true)).toBe("yes");

0 commit comments

Comments
 (0)