Adjust tests to use vitest + jsdom
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { expect, test } from "bun:test";
|
||||
import { expect, test } from "vitest";
|
||||
import { type AABB, aabbOverlap, pointInAABB } from "./aabb.ts";
|
||||
|
||||
const box: AABB = { x: 10, y: 10, w: 20, h: 20 }; // spans 10..30 in both axes
|
||||
|
||||
Reference in New Issue
Block a user