mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Updated option normalizers for stringArrayCallsTransform option
This commit is contained in:
@@ -771,12 +771,12 @@ describe('OptionsNormalizer', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('stringArrayCallsTransformRule', () => {
|
||||
describe('stringArrayCallsTransformThresholdRule', () => {
|
||||
before(() => {
|
||||
optionsPreset = getNormalizedOptions({
|
||||
...getDefaultOptions(),
|
||||
stringArrayCallsTransform: false,
|
||||
stringArrayCallsTransformThreshold: 1
|
||||
stringArrayCallsTransform: true,
|
||||
stringArrayCallsTransformThreshold: 0
|
||||
});
|
||||
|
||||
expectedOptionsPreset = {
|
||||
|
||||
Reference in New Issue
Block a user