mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
WIP: disabled some options to debug travis
This commit is contained in:
@@ -2,7 +2,6 @@ import { assert } from 'chai';
|
||||
|
||||
import { TInputOptions } from '../../src/types/options/TInputOptions';
|
||||
|
||||
import { StringArrayEncoding } from '../../src/enums/StringArrayEncoding';
|
||||
import { IdentifierNamesGenerator } from '../../src/enums/generators/identifier-names-generators/IdentifierNamesGenerator';
|
||||
|
||||
import { evaluateInWorker } from '../helpers/evaluateInWorker';
|
||||
@@ -18,10 +17,10 @@ const getEnvironmentCode = () => `
|
||||
|
||||
describe('JavaScriptObfuscator runtime eval', function () {
|
||||
const baseOptions: TInputOptions = {
|
||||
controlFlowFlattening: true,
|
||||
/*controlFlowFlattening: true,
|
||||
controlFlowFlatteningThreshold: 1,
|
||||
deadCodeInjection: true,
|
||||
deadCodeInjectionThreshold: 1,
|
||||
deadCodeInjectionThreshold: 1,*/
|
||||
debugProtection: true,
|
||||
disableConsoleOutput: true,
|
||||
domainLock: ['obfuscator.io'],
|
||||
@@ -30,13 +29,13 @@ describe('JavaScriptObfuscator runtime eval', function () {
|
||||
reservedNames: ['generate', 'sha256'],
|
||||
rotateStringArray: true,
|
||||
selfDefending: true,
|
||||
splitStrings: true,
|
||||
splitStringsChunkLength: 5,
|
||||
/*splitStrings: true,*/
|
||||
/*splitStringsChunkLength: 5,*/
|
||||
stringArray: true,
|
||||
stringArrayEncoding: StringArrayEncoding.Rc4,
|
||||
stringArrayThreshold: 1,
|
||||
transformObjectKeys: true,
|
||||
unicodeEscapeSequence: true
|
||||
/*stringArrayEncoding: StringArrayEncoding.Rc4,*/
|
||||
/*stringArrayThreshold: 1,*/
|
||||
/*transformObjectKeys: true,*/
|
||||
/*unicodeEscapeSequence: true*/
|
||||
};
|
||||
|
||||
this.timeout(200000);
|
||||
|
||||
Reference in New Issue
Block a user