We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a72afd8 commit 3e53b0dCopy full SHA for 3e53b0d
package.json
@@ -27,7 +27,7 @@
27
],
28
"scripts": {
29
"postinstall": "node dist/postinstall.js || true",
30
- "test": "vitest",
+ "test": "tsc && node --test",
31
"build": "tsc",
32
"format": "prettier -w .",
33
"lint": "tsc --noEmit"
test/compile.test.ts test/compile.test.jstest/compile.test.ts renamed to test/compile.test.js
@@ -1,5 +1,6 @@
1
-import { test } from "vitest";
2
-import * as typst from "../src/index.ts"
+import test from "node:test"
+import assert from "node:assert/strict";
3
+import * as typst from "../dist/index.js"
4
5
test("compile example.typ", async () => {
6
await typst.compile(
0 commit comments