mirror of
https://github.com/zadam/trilium.git
synced 2026-01-07 23:24:25 +01:00
test(pdfjs): set up basic vitest
This commit is contained in:
parent
b4ef4c2143
commit
c84e45ddee
@ -4,7 +4,8 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsx scripts/build.ts",
|
"build": "tsx scripts/build.ts",
|
||||||
"watch": "tsx scripts/build.ts --watch"
|
"watch": "tsx scripts/build.ts --watch",
|
||||||
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@triliumnext/commons": "workspace:*"
|
"@triliumnext/commons": "workspace:*"
|
||||||
|
|||||||
7
packages/pdfjs-viewer/src/toc.spec.ts
Normal file
7
packages/pdfjs-viewer/src/toc.spec.ts
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import { describe, expect, it } from "vitest";
|
||||||
|
|
||||||
|
describe("Toc", () => {
|
||||||
|
it("should pass", () => {
|
||||||
|
expect(true).toBe(true);
|
||||||
|
});
|
||||||
|
});
|
||||||
Loading…
x
Reference in New Issue
Block a user