Skip to content

Commit

Permalink
remove browser growl impl from wallaby cfg
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
  • Loading branch information
boneskull committed Sep 30, 2020
1 parent 08c37af commit 6f8a242
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .wallaby.js
Expand Up @@ -17,7 +17,8 @@ module.exports = () => {
},
'package.json',
'test/opts/mocha.opts',
'mocharc.yml'
'mocharc.yml',
'!lib/browser/growl.js'
],
filesWithNoCoverageCalculated: [
'test/**/*.fixture.js',
Expand Down
3 changes: 1 addition & 2 deletions lib/hook.js
Expand Up @@ -78,7 +78,6 @@ Hook.prototype.serialize = function serialize() {
},
title: this.title,
type: this.type,
[MOCHA_ID_PROP_NAME]: this.id,
__mocha_partial__: true
[MOCHA_ID_PROP_NAME]: this.id
};
};
4 changes: 2 additions & 2 deletions lib/suite.js
Expand Up @@ -9,7 +9,7 @@ const Hook = require('./hook');
var {
assignNewMochaID,
clamp,
constants,
constants: utilsConstants,
createMap,
defineConstants,
getMochaID,
Expand All @@ -20,7 +20,7 @@ const debug = require('debug')('mocha:suite');
const milliseconds = require('ms');
const errors = require('./errors');

const {MOCHA_ID_PROP_NAME} = constants;
const {MOCHA_ID_PROP_NAME} = utilsConstants;

/**
* Expose `Suite`.
Expand Down

0 comments on commit 6f8a242

Please sign in to comment.