Skip to content

Commit

Permalink
Fix test output hash, fixes #520
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Mar 31, 2019
1 parent 41a32b3 commit 29cb370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ tape('outputs split bundles', function (assert) {

// maybe these should use globs instead of hardcoded hashes
// eg glob.sync('dist/*/bundle.js')
assert.ok(fs.existsSync(path.join(output, '3372223d6e7a953f', 'bundle.js')))
assert.ok(fs.existsSync(path.join(output, '102124f5fbe2468e', 'bundle.js')))
assert.notEqual(read(path.join(output, '98abfdc06765c024', 'bundle-2.js')).indexOf('THIS IS A'), -1)
assert.notEqual(read(path.join(output, 'd045ba5484611349', 'bundle-3.js')).indexOf('THIS IS B'), -1)
})
Expand Down

0 comments on commit 29cb370

Please sign in to comment.