mirror of
https://github.com/cupcakearmy/koa-router.git
synced 2024-12-23 00:26:25 +00:00
8 lines
228 B
JavaScript
8 lines
228 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, [1, 2, 3].indexOf(4));
|
||
|
});
|
||
|
});
|
||
|
});
|