aboutsummaryrefslogtreecommitdiff
path: root/test/mocha/ie8.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2018-06-22 01:04:15 +0800
committeralexlamsl <alexlamsl@gmail.com>2018-06-24 04:00:36 +0800
commit28330913d871dd4bdb4e59464c7230f9ae4174fa (patch)
tree32fba882ce0d546d14f461677c56e771e10f02e1 /test/mocha/ie8.js
parent766a4147d4891a093b550e958268c48104330b52 (diff)
downloadtracifyjs-28330913d871dd4bdb4e59464c7230f9ae4174fa.tar.gz
tracifyjs-28330913d871dd4bdb4e59464c7230f9ae4174fa.zip
improve `mocha` tests (#3195)
Diffstat (limited to 'test/mocha/ie8.js')
-rw-r--r--test/mocha/ie8.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mocha/ie8.js b/test/mocha/ie8.js
index 8f3a27fa..2187047b 100644
--- a/test/mocha/ie8.js
+++ b/test/mocha/ie8.js
@@ -1,10 +1,10 @@
var assert = require("assert");
-var uglify = require("../../");
+var UglifyJS = require("../..");
describe("ie8", function() {
it("Should be able to minify() with undefined as catch parameter in a try...catch statement", function() {
assert.strictEqual(
- uglify.minify([
+ UglifyJS.minify([
"function a(b){",
" try {",
" throw 'Stuff';",