Update metrics.test.js
This commit is contained in:
@@ -101,7 +101,7 @@
|
|||||||
["terminal", {}],
|
["terminal", {}],
|
||||||
["repository", {repo:"metrics"}],
|
["repository", {repo:"metrics"}],
|
||||||
])("Template : %s", (template, query) => {
|
])("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"))))
|
if ((skip.includes(template))||((modes.length)&&(!modes.includes("action"))))
|
||||||
test.skip(name, () => null)
|
test.skip(name, () => null)
|
||||||
else
|
else
|
||||||
@@ -115,7 +115,7 @@
|
|||||||
["terminal", {}],
|
["terminal", {}],
|
||||||
["repository", {repo:"metrics"}],
|
["repository", {repo:"metrics"}],
|
||||||
])("Template : %s", (template, query) => {
|
])("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"))))
|
if ((skip.includes(template))||((modes.length)&&(!modes.includes("web"))))
|
||||||
test.skip(name, () => null)
|
test.skip(name, () => null)
|
||||||
else
|
else
|
||||||
@@ -128,7 +128,7 @@
|
|||||||
["classic", {}],
|
["classic", {}],
|
||||||
["terminal", {}],
|
["terminal", {}],
|
||||||
])("Template : %s", (template, query) => {
|
])("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"))))
|
if ((skip.includes(template))||((modes.length)&&(!modes.includes("placeholder"))))
|
||||||
test.skip(name, () => null)
|
test.skip(name, () => null)
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user