improve mocha tests (#3195)

This commit is contained in:
Alex Lam S.L
2018-06-22 01:04:15 +08:00
committed by alexlamsl
parent 766a4147d4
commit 28330913d8
22 changed files with 562 additions and 581 deletions

View File

@@ -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';",