Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created April 18, 2019 22:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacs/89b17d2c1b31f120caf228c04912c27d to your computer and use it in GitHub Desktop.
Save isaacs/89b17d2c1b31f120caf228c04912c27d to your computer and use it in GitHub Desktop.
const t = require('tap')
const testFunction = t => {
console.log('extra args', t.options.args)
t.pass('this is fine')
t.end()
}
t.test('abc', { args: ['a', 'b', 'c'] }, testFunction)
t.test('123', { args: [1, 2, 3] }, testFunction)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment