Skip to content

Commit

Permalink
Fix TestemConfig always being reset to {}
Browse files Browse the repository at this point in the history
`typeof TestemConfig === ‘undefined’ || {}` always evaluates to true, 
regardless of whether TestemConfig is actually undefined.
  • Loading branch information
rlivsey committed Oct 18, 2017
1 parent bdc9377 commit d46d01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/testem/testem_client.js
Expand Up @@ -119,7 +119,7 @@ function Message(socket, emitArgs) {
}

// eslint-disable-next-line no-use-before-define
if (typeof TestemConfig === 'undefined' || {}) {
if (typeof TestemConfig === 'undefined') {
var TestemConfig = {};
}

Expand Down

0 comments on commit d46d01d

Please sign in to comment.