Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Testing infrastructure.

  • Loading branch information...
commit 8e302f855dfef5100d16d77d4c080aa3b47902a9 1 parent bcbe343
@akavlie authored
Showing with 27 additions and 0 deletions.
  1. +4 −0 Makefile
  2. +23 −0 test/activity-item.js
View
4 Makefile
@@ -0,0 +1,4 @@
+test:
+ mocha
+
+.PHONY: test
View
23 test/activity-item.js
@@ -0,0 +1,23 @@
+// suite('Array', function(){
+// setup(function(){
+// // ...
+// });
+
+// suite('#indexOf()', function(){
+// test('should return -1 when not present', function(){
+// assert.equal(-1, [1,2,3].indexOf(4));
+// });
+// });
+// });
+
+describe('Array', function(){
+ before(function(){
+ // ...
+ });
+
+ describe('#indexOf()', function(){
+ it('should return -1 when not present', function(){
+ [1,2,3].indexOf(4).should.equal(-1);
+ });
+ });
+});
Please sign in to comment.
Something went wrong with that request. Please try again.