mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2025-12-14 03:55:42 +00:00
* [Parse Error] - Rarity: Magic #285 (#315) * Add in fix Co-authored-by: @vagrant-soul * Adds regression tests * Features/uniqueRollsRewrite (#316) * update with new rolls system * More or less working now * adds fix for some stats from json having + * Features/jewels (#317) * Fix help text on jewels * Add fix for shock * [Not Recognized Modifier] - (most monster map modifiers) #314 * Features/showItemOnHover (#322) * Move row into own component * add tooltip on shift and hover * works MVP * style and fix affix strings * pseudo add * change tooltip method to more dynamic * Corrupted back to red * style updates * Add option for tooltip in settings * Features/relics (#323) * update en strings * translation client strings * Fix relic parse error * Tag text * enable relic filters by default * add spanish? (#324) Co-authored-by: @mgallego * Divider line shows when it shouldn't on non weapons or armour #325 * Features/newRunes (#326) * Rip out old rune code * final removed stuff? * change filter back to number * use new rune filter * done runes * Remove alpha * Features/runeSocketsPart4 (#327) * some stat change is working * iron working? * new betterer way? * DONE DONE DONE * add translation line * version bump
16 lines
325 B
TypeScript
16 lines
325 B
TypeScript
import { expect, test } from "vitest";
|
|
import { init } from "@/assets/data";
|
|
import { setupTests } from "../vitest.setup";
|
|
function sum(a: number, b: number) {
|
|
return a + b;
|
|
}
|
|
|
|
test("adds 1 + 2 to equal 3", () => {
|
|
expect(sum(1, 2)).toBe(3);
|
|
});
|
|
|
|
test("loadForLang", async () => {
|
|
setupTests();
|
|
await init("en");
|
|
});
|