From 20d2ef4d33f33f7788543b1f88e8ba5ad4c9bb2c Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Sat, 20 Mar 2021 23:30:06 +0100 Subject: [PATCH] Update ci.test.js --- tests/ci.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ci.test.js b/tests/ci.test.js index dbe9f658..3e007a97 100644 --- a/tests/ci.test.js +++ b/tests/ci.test.js @@ -32,5 +32,5 @@ //Templates editions describe("Check templates editions", () => { - test("Use community templates instead (see https://github.com/lowlighter/metrics/tree/master/source/templates/community)", async () => void expect((await diff()).filter(edited => /^source[/]templates[/](?:classic|terminal|repository|community)[/][\s\S]*$/.test(edited)).length).toBe(0)) + test("Use community templates instead (see https://github.com/lowlighter/metrics/tree/master/source/templates/community)", async () => void expect((await diff()).filter(edited => !/^source[/]templates[/](?:classic|terminal|repository|community)[/][\s\S]*$/.test(edited)).length).toBe(0)) })