fix: test fixes
This commit is contained in:
parent
055f914604
commit
f6f7a17a11
|
@ -4,9 +4,9 @@ import { describe, expect, it } from "vitest";
|
|||
import config from "../index.json";
|
||||
|
||||
describe("Prettier Config", () => {
|
||||
it("is valid configuration", () => {
|
||||
it("is valid configuration", async () => {
|
||||
// Format the code with Prettier
|
||||
const code = prettier.format(
|
||||
const code = await prettier.format(
|
||||
"const foo=1",
|
||||
Object.assign(config as prettier.Options, {
|
||||
parser: "typescript",
|
||||
|
|
Loading…
Reference in New Issue