Page MenuHomeSealhub

No OneTemporary

diff --git a/tests/test.js b/tests/test.js
index 54d99566..0445ff24 100644
--- a/tests/test.js
+++ b/tests/test.js
@@ -1,3 +1,12 @@
var blanket = require("blanket");
var mocha = require("mocha");
-var should = require("should");
\ No newline at end of file
+var should = require("should");
+
+describe('Array', function(){
+ describe('#indexOf()', function(){
+ it('should return -1 when the value is not present', function(){
+ [1,2,3].indexOf(5).should.equal(-1);
+ [1,2,3].indexOf(0).should.equal(-1);
+ })
+ })
+})
\ No newline at end of file

File Metadata

Mime Type
text/x-diff
Expires
Sat, Nov 8, 02:41 (14 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1033937
Default Alt Text
(555 B)

Event Timeline