There was an error while loading. Please reload this page.
1 parent 91608d0 commit b92654cCopy full SHA for b92654c
1 file changed
apps/client/tests/utils.test.ts
@@ -2,7 +2,6 @@
2
import { ValueLicenseType, WhitelistStatus } from "@snailycad/types";
3
import { describe, expect, test } from "vitest";
4
import {
5
- calculateAge,
6
yesOrNoText,
7
formatDate,
8
formatCitizenAddress,
@@ -20,19 +19,6 @@ import {
20
19
soundCamelCaseToKebabCase,
21
} from "../src/lib/utils";
22
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
32
- expect(calculateAge(DOB_2)).toMatchInlineSnapshot('"70"');
33
34
-});
35
36
describe("yesOrNoText", () => {
37
test("Should return 'yes' -> true", () => {
38
expect(yesOrNoText(true)).toBe("yes");
0 commit comments