chore: ignore check fmt on canary (#2925)

Ignore checking formatting on canary as the formatting might be
different from stable releases of Deno.
This commit is contained in:
Marvin Hagemeister
2025-05-12 20:30:17 +02:00
committed by GitHub
parent d68b5ecd5b
commit a49fc3796f
+7 -1
View File
@@ -121,7 +121,12 @@ Deno.test("init - with vscode", async () => {
}); });
}); });
Deno.test("init - fmt, lint, and type check project", async () => { Deno.test({
name: "init - fmt, lint, and type check project",
// Ignore this test on canary due to different formatting
// behaviours when the formatter changes.
ignore: Deno.version.deno.includes("+"),
fn: async () => {
await withTmpDir(async (dir) => { await withTmpDir(async (dir) => {
const mock = mockUserInput({ const mock = mockUserInput({
[InitStep.ProjectName]: ".", [InitStep.ProjectName]: ".",
@@ -140,6 +145,7 @@ Deno.test("init - fmt, lint, and type check project", async () => {
}).output(); }).output();
expect(check.code).toEqual(0); expect(check.code).toEqual(0);
}); });
},
}); });
Deno.test("init with tailwind - fmt, lint, and type check project", async () => { Deno.test("init with tailwind - fmt, lint, and type check project", async () => {