Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
null committed Dec 13, 2023
1 parent e2597c8 commit a72afd8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/compile.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { test } from "vitest";
import compile from "../src/compile.js";
import * as typst from "../src/index.ts"

test("compile example.typ", async () => {
await compile(
import.meta.resolve("./example.typ"),
import.meta.resolve("./example.pdf"),
await typst.compile(
new URL("./example.typ", import.meta.url),
new URL("./example.pdf", import.meta.url),
);
});

0 comments on commit a72afd8

Please sign in to comment.