Skip to content

Commit

Permalink
using testling
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Mar 30, 2013
1 parent d5b3bc2 commit 4fe80b3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
"scripts" : {
"test" : "tap test/*.js"
},
"testling" : {
"files" : "test/browser/*.js",
"browsers" : [
"ie/6..latest",
"chrome/20..latest",
"firefox/10..latest",
"safari/latest",
"opera/11.0..latest",
"iphone/6", "ipad/6"
]
},
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/tape.git"
Expand Down
2 changes: 2 additions & 0 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

tap-producing test harness for node and browsers

[![browser support](https://ci.testling.com/substack/tape.png)](http://ci.testling.com/substack/tape)

[![build status](https://secure.travis-ci.org/substack/tape.png)](http://travis-ci.org/substack/tape)

![tape](http://substack.net/images/tape_drive.png)
Expand Down
9 changes: 9 additions & 0 deletions test/browser/asserts.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
var test = require('../../');

test(function (t) {
t.plan(4);
t.ok(true);
t.equal(3, 1+2);
t.deepEqual([1,2,[3,4]], [1,2,[3,4]]);
t.notDeepEqual([1,2,[3,4,5]], [1,2,[3,4]]);
});

0 comments on commit 4fe80b3

Please sign in to comment.