@negative0/jasmine-dataprovider
v1.0.1
Published
It's a iteration like data providers in PHPUnit
Downloads
4
Readme
Jasmine DataProvider ES6
It's a iteration like data providers in PHPUnit
describe('and when total method called', () => {
const objectDataProvider = {
'should do...': {actual: 10, expected: 9},
'should do sth else...': {actual: 10, expected: 10},
};
using(objectDataProvider, (data, description) => {
it(description, () => {
console.log(data);
});
});
});