npm install
npm test
var twada = require('power-assert');
describe('Array', function () {
beforeEach(function () {
this.ary = [1, 2, 3];
});
describe('#indexOf()', function () {
it('should return index when the value is present', function () {
var zero = 0, two = 2;
twada(this.ary.indexOf(zero) === two);
});
});
});
You can gain twada
feature through the use of these tools for now!
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT