Skip to content

Commit 3e53b0d

Browse files
author
null
committed
stock node --test
1 parent a72afd8 commit 3e53b0d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
],
2828
"scripts": {
2929
"postinstall": "node dist/postinstall.js || true",
30-
"test": "vitest",
30+
"test": "tsc && node --test",
3131
"build": "tsc",
3232
"format": "prettier -w .",
3333
"lint": "tsc --noEmit"
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { test } from "vitest";
2-
import * as typst from "../src/index.ts"
1+
import test from "node:test"
2+
import assert from "node:assert/strict";
3+
import * as typst from "../dist/index.js"
34

45
test("compile example.typ", async () => {
56
await typst.compile(

0 commit comments

Comments
 (0)