Move board tests to match board file #90

Merged
thepaperpilot merged 1 commit from thepaperpilot/Profectus:fix/move-board-tests into main 2024-12-31 13:04:01 +00:00

View file

@ -4,10 +4,10 @@ import {
setupUniqueIds, setupUniqueIds,
unwrapNodeRef unwrapNodeRef
} from "game/boards/board"; } from "game/boards/board";
import { Direction } from "util/common";
import { beforeEach, describe, expect, test } from "vitest"; import { beforeEach, describe, expect, test } from "vitest";
import { Ref, ref } from "vue"; import { Ref, ref } from "vue";
import "../utils"; import "../utils";
import { Direction } from "util/common";
describe("Unwraps node refs", () => { describe("Unwraps node refs", () => {
test("Static value", () => expect(unwrapNodeRef(100, {})).toBe(100)); test("Static value", () => expect(unwrapNodeRef(100, {})).toBe(100));