diff --git a/.travis.yml b/.travis.yml index 0a20062..49a494f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: node_js +node_js: "8" + before_script: - npm run setup - npm run build diff --git a/test/basic.js b/test/basic.js new file mode 100644 index 0000000..83d9c93 --- /dev/null +++ b/test/basic.js @@ -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); + }); + }); +}); \ No newline at end of file