Skip to content

Commit

Permalink
fix(test): replace let with var
Browse files Browse the repository at this point in the history
  • Loading branch information
watilde committed Jul 27, 2017
1 parent 97780f3 commit d4308eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const rimraf = require('rimraf')
const fixtures = fs.readdirSync(path.join(__dirname, 'fixtures'))

test((t) => {
let count = fixtures.length
var count = fixtures.length
t.plan(count)
fixtures.forEach(fixture => {
const modules = path.join(__dirname, 'fixtures', fixture, 'node_modules')
Expand All @@ -20,8 +20,8 @@ test((t) => {
})

test((t) => {
let items = 3
let count = fixtures.length * items
var items = 3
var count = fixtures.length * items
t.plan(count)
fixtures.forEach(fixture => {
const bin = path.join(__dirname, '..', 'bin', 'dep.js')
Expand Down

0 comments on commit d4308eb

Please sign in to comment.