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

Commit

Permalink
chore: Fix failing tests with Karma 1.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dpogue committed Aug 7, 2016
1 parent 6a8792e commit f251fdf
Showing 1 changed file with 2 additions and 2 deletions.
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 f251fdf

Please sign in to comment.