mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-05-04 08:21:28 +00:00
4fe1d178c2
Fixes #860
16 lines
316 B
TypeScript
16 lines
316 B
TypeScript
import { expect, it } from "vitest";
|
|
import { init } from "@/assets/data";
|
|
import { setupTests } from "@specs/vitest.setup";
|
|
function sum(a: number, b: number) {
|
|
return a + b;
|
|
}
|
|
|
|
it("adds 1 + 2 to equal 3", () => {
|
|
expect(sum(1, 2)).toBe(3);
|
|
});
|
|
|
|
it("init", async () => {
|
|
setupTests();
|
|
await init("en");
|
|
});
|