Skip to content

Commit

Permalink
Fix minification tests, refs highlightjs#960
Browse files Browse the repository at this point in the history
  • Loading branch information
Sannis committed Oct 21, 2015
1 parent bbfe6a6 commit ef7d315
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/minification/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
var fs = require('fs');
var path = require('path');
var jsdom = require('jsdom').jsdom;
var utility = require('../utility');
var glob = require('glob');

describe('minification build', function() {
before(function(done) {
// Will match both `highlight.pack.js` and `highlight.min.js`
var hljsPath = glob.sync(path.join('build', 'highlight.*.js'));
var hljsPath = glob.sync(utility.buildPath('..', 'build', 'highlight.*.js'));
var that = this;

jsdom.env(
Expand Down

0 comments on commit ef7d315

Please sign in to comment.