test(pdfjs): set up basic vitest

This commit is contained in:
Elian Doran 2025-12-31 21:18:27 +02:00
parent b4ef4c2143
commit c84e45ddee
No known key found for this signature in database
2 changed files with 9 additions and 1 deletions

View File

@ -4,7 +4,8 @@
"private": true,
"scripts": {
"build": "tsx scripts/build.ts",
"watch": "tsx scripts/build.ts --watch"
"watch": "tsx scripts/build.ts --watch",
"test": "vitest"
},
"dependencies": {
"@triliumnext/commons": "workspace:*"

View File

@ -0,0 +1,7 @@
import { describe, expect, it } from "vitest";
describe("Toc", () => {
it("should pass", () => {
expect(true).toBe(true);
});
});