Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #106 from dpogue/patch-1
Browse files Browse the repository at this point in the history
Update mocha to 3.0.0
  • Loading branch information
dignifiedquire committed Aug 7, 2016
2 parents 15e03c7 + f251fdf commit fc369ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"karma-firefox-launcher": "^1.0.0",
"karma-sinon": "^1.0.3",
"load-grunt-tasks": "^3.2.0",
"mocha": "^2.4.5",
"mocha": "^3.0.0",
"shared-karma-files": "git://github.com/karma-runner/shared-karma-files.git#82ae8d02",
"sinon": "^1.17.2"
},
Expand Down
4 changes: 2 additions & 2 deletions test/adapter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('adapter mocha', function () {

describe('createMochaReporterConstructor', function () {
beforeEach(function () {
this.karma = new Karma(new MockSocket(), null, null, null, {search: ''})
this.karma = new Karma(function (method, args) { })
this.karma.config = {
mocha: {
reporter: 'html'
Expand Down Expand Up @@ -65,7 +65,7 @@ describe('adapter mocha', function () {
var runner, tc

beforeEach(function () {
tc = new Karma(new MockSocket(), null, null, null, {search: ''})
tc = new Karma(function (method, args) { })
runner = new Emitter()
var reporter = new (createMochaReporterConstructor(tc))(runner) // eslint-disable-line
})
Expand Down

0 comments on commit fc369ff

Please sign in to comment.