Skip to content

Commit e4ac083

Browse files
committed
Disable the test if UglifyJS is used
1 parent c3ed2d3 commit e4ac083

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
const supportsOptionalCatchBinding = require("../../../helpers/supportsOptionalCatchBinding");
22

33
module.exports = function(config) {
4+
// XXX: Disable this test if UglifyJS is used because it does not support ES 2019
5+
if (config.mode === "production") {
6+
return false;
7+
}
48
return supportsOptionalCatchBinding();
59
};

0 commit comments

Comments
 (0)