Specify node.js version for travis and add basic test

This commit is contained in:
Casper Warden
2017-12-18 21:08:18 +00:00
parent b99742b1c8
commit c07d392515
2 changed files with 14 additions and 0 deletions

12
test/basic.js Normal file
View 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);
});
});
});