Created
March 24, 2017 15:49
-
-
Save banduk/fe86c5b18d4bb46544766ca1c78baa37 to your computer and use it in GitHub Desktop.
test
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 tests = [ | |
{ desc: 'case 1', params: { name: 'name 1' } }, | |
{ desc: 'case 2', params: { name: 'name 2', birthday: '19/02' } }, | |
] | |
tests.forEach((test) => { | |
it(`${test.desc}`, function*() { | |
// run test with test.params | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment