harness: change const to var

This commit is contained in:
Alexander 2019-08-10 10:12:51 +03:00
parent b33b90b559
commit e79e835fce

View File

@ -2,8 +2,8 @@
/* eslint-disable no-var */
// this will work in the browser via browserify
const _chai: typeof chai = require("chai");
const assert: typeof _chai.assert = _chai.assert;
var _chai: typeof chai = require("chai");
var assert: typeof _chai.assert = _chai.assert;
{
// chai's builtin `assert.isFalse` is featureful but slow - we don't use those features,
// so we'll just overwrite it as an alterative to migrating a bunch of code off of chai