chore: code formatting

This commit is contained in:
github-actions[bot]
2022-01-21 04:35:56 +00:00
parent 4571a89b57
commit 000af9197e
3 changed files with 41 additions and 36 deletions

View File

@@ -19,7 +19,7 @@ describe("Check files editions (checkout your files if needed)", () => {
".github/workflows/examples.yml",
".github/readme/partials/documentation/compatibility.md",
])("%s", async file => expect((await diff()).includes(file)).toBe(false)))
if (!["lowlighter"].includes(process.env.PR_AUTHOR))
if (!["lowlighter"].includes(process.env.PR_AUTHOR)) {
describe("Repository level files were not modified", () =>
void test.each([
".github/config/*",
@@ -39,6 +39,7 @@ describe("Check files editions (checkout your files if needed)", () => {
"source/app/mocks/.eslintrc.yml",
"vercel.json",
])("%s", async file => expect((await diff()).filter(edited => new RegExp(`^${file.replace(/[.]/g, "[.]").replace(/[*]/g, "[\\s\\S]*")}$`).test(edited)).length).toBe(0)))
}
})
//Templates editions