koa-router/test/all.js

8 lines
228 B
JavaScript
Raw Normal View History

2017-08-24 16:33:14 +00:00
var assert = require('assert');
describe('Array', function () {
describe('#indexOf()', function () {
it('should return -1 when the value is not present', function () {
assert.equal(-1, [1, 2, 3].indexOf(4));
});
});
});