Fixed tests

This commit is contained in:
sanex3339
2020-01-10 12:13:17 +03:00
parent 1277acea20
commit 63fd4a82d9
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -29241,7 +29241,7 @@
var NumberFormatter = (function () {
function NumberFormatter() {
}
NumberFormatter.sanitizeTemplate = function (num, locale, style, _a) {
NumberFormatter.format = function (num, locale, style, _a) {
var _b = _a === void 0 ? {} : _a, minimumIntegerDigits = _b.minimumIntegerDigits, minimumFractionDigits = _b.minimumFractionDigits, maximumFractionDigits = _b.maximumFractionDigits, currency = _b.currency, _c = _b.currencyAsSymbol, currencyAsSymbol = _c === void 0 ? false : _c;
var options = {
minimumIntegerDigits: minimumIntegerDigits,
@@ -29415,7 +29415,7 @@
var DateFormatter = (function () {
function DateFormatter() {
}
DateFormatter.sanitizeTemplate = function (date, locale, pattern) {
DateFormatter.format = function (date, locale, pattern) {
return dateFormatter(pattern, date, locale);
};
return DateFormatter;
@@ -20,8 +20,11 @@ describe('JavaScriptObfuscator runtime eval', function () {
controlFlowFlatteningThreshold: 1,
deadCodeInjection: true,
deadCodeInjectionThreshold: 1,
debugProtection: true,
disableConsoleOutput: true,
domainLock: ['obfuscator.io'],
rotateStringArray: true,
selfDefending: true,
splitStrings: true,
splitStringsChunkLength: 5,
stringArray: true,