Move test utilities from lib/ to test/ directory

- Rename `lib/test-preload.ts` → `test/preload.ts` and
  `lib/test-utils.ts` → `test/sqlite.ts`
- Update `bunfig.toml` preload path to `./test/preload.ts`
- Update all service test imports from `@/lib/test-utils` to
  `@/test/sqlite`
This commit is contained in:
2026-03-08 12:18:21 -04:00
parent 1328619c43
commit 609f984aa0
14 changed files with 25 additions and 326 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import { beforeEach, describe, expect, test } from "bun:test";
import { clearAllTables, insertUser } from "@/lib/test-utils";
import { clearAllTables, insertUser } from "@/test/sqlite";
import {
getSetting,
getUserCount,