parro-it/tape-async

test.only doesn't work

jemmyw opened this issue · 2 comments

test.only('Organizers create / project owner', async function(t) {
})

Produces:

Unhandled exception occurred. One of your test may have failed silently.
TypeError: test.only is not a function
Unhandled exception occurred. One of your test may have failed silently.
TypeError: test.only is not a function
    at Object.<anonymous> (role.test.js:166:6)
    at Module._compile (module.js:541:32)
    at loader (/Users/jeremy/src/sparks/sparks-backend/node_modules/babel-register/lib/node.js:126:5)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/jeremy/src/sparks/sparks-backend/node_modules/babel-register/lib/node.js:136:7)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at /Users/jeremy/src/sparks/sparks-backend/node_modules/babel-tape-runner/bin/babel-tape-runner:13:7
    at Array.forEach (native)
    at /Users/jeremy/src/sparks/sparks-backend/node_modules/babel-tape-runner/bin/babel-tape-runner:12:11
    at f (/Users/jeremy/src/sparks/sparks-backend/node_modules/once/once.js:17:25)
    at Glob.<anonymous> (/Users/jeremy/src/sparks/sparks-backend/node_modules/babel-tape-runner/node_modules/glob/glob.js:146:7)
    at emitOne (events.js:96:13)
    at Glob.emit (events.js:188:7)

Are you using the last published release on NPM? .only was not implemented some version ago...

Thanks, that fixed it.