From bb0f83e75ab3c051a1ddf4e344d7e7c18d71c049 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Thu, 23 Mar 2023 11:47:39 -0500 Subject: [PATCH] Make tests faster --- tests/game/formulas.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/game/formulas.test.ts b/tests/game/formulas.test.ts index b45112d..9937d30 100644 --- a/tests/game/formulas.test.ts +++ b/tests/game/formulas.test.ts @@ -8,12 +8,12 @@ import Formula, { } from "game/formulas"; import Decimal, { DecimalSource } from "util/bignum"; import { beforeAll, describe, expect, test } from "vitest"; -import { ref, unref } from "vue"; +import { ref } from "vue"; import "../utils"; type FormulaFunctions = keyof GenericFormula & keyof typeof Formula & keyof typeof Decimal; -const testValues = ["-1e400", 0, 0.25] as const; +const testValues = [-1, "0", Decimal.dOne] as const; const invertibleZeroParamFunctionNames = [ "neg",