Skip to content

Commit

Permalink
stock node --test
Browse files Browse the repository at this point in the history
  • Loading branch information
null committed Dec 13, 2023
1 parent a72afd8 commit 3e53b0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
"scripts": {
"postinstall": "node dist/postinstall.js || true",
"test": "vitest",
"test": "tsc && node --test",
"build": "tsc",
"format": "prettier -w .",
"lint": "tsc --noEmit"
Expand Down
5 changes: 3 additions & 2 deletions test/compile.test.ts → test/compile.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { test } from "vitest";
import * as typst from "../src/index.ts"
import test from "node:test"
import assert from "node:assert/strict";
import * as typst from "../dist/index.js"

test("compile example.typ", async () => {
await typst.compile(
Expand Down

0 comments on commit 3e53b0d

Please sign in to comment.