Skip to content

Commit 79d2ffd

Browse files
committed
Add testling support.
1 parent c688f31 commit 79d2ffd

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

package.json

+11
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,16 @@
4343
"engines": { "node": ">= 0.4.0" },
4444
"scripts": {
4545
"test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js test/**/*.test.js"
46+
},
47+
"testling": {
48+
"browsers": [
49+
"chrome/latest"
50+
],
51+
"harness" : "mocha",
52+
"files": [
53+
"test/bootstrap/testling.js",
54+
"test/*.test.js",
55+
"test/**/*.test.js"
56+
]
4657
}
4758
}

test/bootstrap/testling.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
var chai = require('chai')
2+
, passport = require('chai-passport-strategy');
3+
4+
chai.use(passport);
5+
6+
7+
window.expect = chai.expect;

0 commit comments

Comments
 (0)