mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-14 19:16:17 -06:00
harness: change const to var
This commit is contained in:
parent
b33b90b559
commit
e79e835fce
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user