diff --git a/index.js b/index.js index 37cd892..61a8e83 100644 --- a/index.js +++ b/index.js @@ -27,7 +27,7 @@ const metaltest = (title) => { suite.push({ name, fn }) } - runner.only = (fn) => { only.push(fn) } + runner.only = (name, fn) => { only.push({ name, fn }) } runner.before = (fn) => { before.push(fn) } runner.after = (fn) => { after.push(fn) }