Skip to content

Commit

Permalink
let to const
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbastian-trayio committed Sep 11, 2019
1 parent 8981a68 commit e3e3d34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/globalize_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ const when = require('when');

const globalize = require('../lib/addMethod/globalize');

let devMode = process.env.NODE_ENV === 'development';
const devMode = process.env.NODE_ENV === 'development';
function handleDevFlagTest (testMessage, testFunction) {
it(testMessage, function (done) {
it(testMessage, (done) => {
if (devMode) {
testFunction(done);
} else {
Expand Down

0 comments on commit e3e3d34

Please sign in to comment.