Skip to content

Commit

Permalink
Improve conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
craigtaub committed Jul 2, 2020
1 parent 2c54571 commit a53de98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser-entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ mocha.setup = function(opts) {
if (typeof opts === 'string') {
opts = {ui: opts};
}
if ('delay' in opts && opts.delay === true) {
if (opts.delay === true) {
this.delay();
}
var self = this;
Expand Down

0 comments on commit a53de98

Please sign in to comment.