Move board tests to match board file

This commit is contained in:
thepaperpilot 2024-12-26 19:18:25 -06:00
parent 91f1033dbb
commit be9f488aa2

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));