Specify node.js version for travis and add basic test
This commit is contained in:
12
test/basic.js
Normal file
12
test/basic.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const 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);
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user