resume/test/test.js
2017-02-14 22:41:16 +01:00

10 lines
266 B
JavaScript

/* global it, describe */
const assert = require('assert');
describe('Array', () => {
describe('#indexOf()', () => {
it('should return -1 when the value is not present', () => {
assert.equal(-1, [1, 2, 3].indexOf(4));
});
});
});