Skip to content

Commit f88b72a

Browse files
committed
Update metrics.test.js
1 parent 14e4278 commit f88b72a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/metrics.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
["terminal", {}],
102102
["repository", {repo:"metrics"}],
103103
])("Template : %s", (template, query) => {
104-
for (const [name, input, {skip = [], modes = []} = {}, timeout] of tests)
104+
for (const [name, input, {skip = [], modes = [], timeout} = {}] of tests)
105105
if ((skip.includes(template))||((modes.length)&&(!modes.includes("action"))))
106106
test.skip(name, () => null)
107107
else
@@ -115,7 +115,7 @@
115115
["terminal", {}],
116116
["repository", {repo:"metrics"}],
117117
])("Template : %s", (template, query) => {
118-
for (const [name, input, {skip = [], modes = []} = {}, timeout] of tests)
118+
for (const [name, input, {skip = [], modes = [], timeout} = {}] of tests)
119119
if ((skip.includes(template))||((modes.length)&&(!modes.includes("web"))))
120120
test.skip(name, () => null)
121121
else
@@ -128,7 +128,7 @@
128128
["classic", {}],
129129
["terminal", {}],
130130
])("Template : %s", (template, query) => {
131-
for (const [name, input, {skip = [], modes = []} = {}, timeout] of tests)
131+
for (const [name, input, {skip = [], modes = [], timeout} = {}] of tests)
132132
if ((skip.includes(template))||((modes.length)&&(!modes.includes("placeholder"))))
133133
test.skip(name, () => null)
134134
else

0 commit comments

Comments
 (0)