Update ci.test.js

This commit is contained in:
lowlighter
2021-04-28 23:07:30 +02:00
parent 54b49cbc3e
commit 8571a3002b

View File

@@ -18,15 +18,24 @@
".github/config/*", ".github/config/*",
".github/ISSUE_TEMPLATE/*", ".github/ISSUE_TEMPLATE/*",
".github/PULL_REQUEST_TEMPLATE/*", ".github/PULL_REQUEST_TEMPLATE/*",
".github/readme/README.md", ".github/readme/partials/license.md",
".github/readme/partials/*", ".github/readme/partials/setup.md",
".github/readme/partials/shared.md",
".github/readme/partials/documentation/compatibility.md",
".github/readme/partials/introduction.md",
".github/workflows/*", ".github/workflows/*",
".github/FUNDING.yml", ".github/FUNDING.yml",
".github/index.mjs", ".github/index.mjs",
".github/release.mjs", ".github/release.mjs",
".github/markdown_example.mjs",
".github/architecture.svg",
"LICENSE", "LICENSE",
"ARCHITECTURE.md",
"SECURITY.md", "SECURITY.md",
"tests/ci.test.js" "tests/ci.test.js",
"source/.eslintrc.yml",
"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))) ])("%s", async file => expect((await diff()).filter(edited => new RegExp(`^${file.replace(/[.]/g, "[.]").replace(/[*]/g, "[\\s\\S]*")}$`).test(edited)).length).toBe(0)))
}) })