Skip to content

Commit 4fe80b3

Browse files
author
James Halliday
committed
using testling
1 parent d5b3bc2 commit 4fe80b3

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

package.json

+11
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@
2020
"scripts" : {
2121
"test" : "tap test/*.js"
2222
},
23+
"testling" : {
24+
"files" : "test/browser/*.js",
25+
"browsers" : [
26+
"ie/6..latest",
27+
"chrome/20..latest",
28+
"firefox/10..latest",
29+
"safari/latest",
30+
"opera/11.0..latest",
31+
"iphone/6", "ipad/6"
32+
]
33+
},
2334
"repository" : {
2435
"type" : "git",
2536
"url" : "git://github.com/substack/tape.git"

readme.markdown

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
tap-producing test harness for node and browsers
44

5+
[![browser support](https://ci.testling.com/substack/tape.png)](http://ci.testling.com/substack/tape)
6+
57
[![build status](https://secure.travis-ci.org/substack/tape.png)](http://travis-ci.org/substack/tape)
68

79
![tape](http://substack.net/images/tape_drive.png)

test/browser/asserts.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
var test = require('../../');
2+
3+
test(function (t) {
4+
t.plan(4);
5+
t.ok(true);
6+
t.equal(3, 1+2);
7+
t.deepEqual([1,2,[3,4]], [1,2,[3,4]]);
8+
t.notDeepEqual([1,2,[3,4,5]], [1,2,[3,4]]);
9+
});

0 commit comments

Comments
 (0)