fix: test fixes

This commit is contained in:
Jyotirmoy Bandyopadhayaya 2023-08-14 10:24:38 +05:30
parent 055f914604
commit f6f7a17a11
Signed by: bravo68web
GPG Key ID: F5671FD7BCB9917A
1 changed files with 2 additions and 2 deletions

View File

@ -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",