From f88b72adffdba2673c318037ff9d9665a70fbb09 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Fri, 12 Feb 2021 00:47:50 +0100 Subject: [PATCH] Update metrics.test.js --- tests/metrics.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/metrics.test.js b/tests/metrics.test.js index 52b0ba1c..6d4c3198 100644 --- a/tests/metrics.test.js +++ b/tests/metrics.test.js @@ -101,7 +101,7 @@ ["terminal", {}], ["repository", {repo:"metrics"}], ])("Template : %s", (template, query) => { - for (const [name, input, {skip = [], modes = []} = {}, timeout] of tests) + for (const [name, input, {skip = [], modes = [], timeout} = {}] of tests) if ((skip.includes(template))||((modes.length)&&(!modes.includes("action")))) test.skip(name, () => null) else @@ -115,7 +115,7 @@ ["terminal", {}], ["repository", {repo:"metrics"}], ])("Template : %s", (template, query) => { - for (const [name, input, {skip = [], modes = []} = {}, timeout] of tests) + for (const [name, input, {skip = [], modes = [], timeout} = {}] of tests) if ((skip.includes(template))||((modes.length)&&(!modes.includes("web")))) test.skip(name, () => null) else @@ -128,7 +128,7 @@ ["classic", {}], ["terminal", {}], ])("Template : %s", (template, query) => { - for (const [name, input, {skip = [], modes = []} = {}, timeout] of tests) + for (const [name, input, {skip = [], modes = [], timeout} = {}] of tests) if ((skip.includes(template))||((modes.length)&&(!modes.includes("placeholder")))) test.skip(name, () => null) else