Skip to content

Commit

Permalink
Merge pull request #723 from stefanpenner/fix-mocha-adapter
Browse files Browse the repository at this point in the history
Fix mocha adapter
  • Loading branch information
johanneswuerbach committed Jan 4, 2016
2 parents 0908483 + 7b8657b commit 943f62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/testem/testem_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function hookIntoTestFramework(socket) {
jasmine2Adapter(socket);
} else if (typeof jasmine === 'object') {
jasmineAdapter(socket);
} else if ((typeof mocha).match(/function|object/)) {
} else if (typeof Mocha === 'function') {
mochaAdapter(socket);
} else if (typeof QUnit === 'object') {
qunitAdapter(socket);
Expand Down

0 comments on commit 943f62a

Please sign in to comment.