notes/sandbox/mocha/test/test.js
2023-04-22 00:41:54 -07:00

8 lines
248 B
JavaScript

var assert = require('assert')
describe('Array', function() {
describe('#indexOf()', function() {
it('should return -1 when the value is not present', function() {
assert.equal([1, 2, 3].indexOf(4), -1)
})
})
})