Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F10359856
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
555 B
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
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)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment