With structure
19
describe('Array', function() {
describe('#indexOf()', function() {
it('should return -1 when the value is not present',
function() {
// arrange
const arr = [1,2,3];
const el = 4;
// act
const index = arr.indexOf(el);
// assert
assert.equal(-1, index);
});
});
});