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