Created
April 18, 2019 22:09
-
-
Save isaacs/89b17d2c1b31f120caf228c04912c27d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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