1 | /*
|
2 | * periodic
|
3 | * http://github.com/typesettin/periodic
|
4 | *
|
5 | * Copyright (c) 2014 Yaw Joseph Etse. All rights reserved.
|
6 | */
|
7 |
|
8 |
|
9 | ;
|
10 |
|
11 | var should = require('chai').should(),
|
12 | expect = require('chai').expect,
|
13 | path = require("path");
|
14 |
|
15 | describe('periodic', function () {
|
16 | describe('#indexOf()', function () {
|
17 | it('should return -1 when the value is not present', function () {
|
18 | should.equal(-1, [1, 2, 3].indexOf(5));
|
19 | should.equal(-1, [1, 2, 3].indexOf(0));
|
20 | });
|
21 | });
|
22 | });
|