Browse Source

Added runtime tests for mangled-shuffled identifier names generator

sanex3339 4 năm trước cách đây
mục cha
commit
8f2d891765

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/index.cli.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/index.js


+ 8 - 0
test/runtime-tests/JavaScriptObfuscatorRuntime.spec.ts

@@ -57,6 +57,14 @@ describe('JavaScriptObfuscator runtime eval', function () {
         {
             identifierNamesGenerator: IdentifierNamesGenerator.MangledIdentifierNamesGenerator,
             renameGlobals: true
+        },
+        {
+            identifierNamesGenerator: IdentifierNamesGenerator.MangledShuffledIdentifierNamesGenerator,
+            renameGlobals: false
+        },
+        {
+            identifierNamesGenerator: IdentifierNamesGenerator.MangledShuffledIdentifierNamesGenerator,
+            renameGlobals: true
         }
     ].forEach((options: Partial<TInputOptions>) => {
         const detailedDescription: string = `Identifier names generator: ${options.identifierNamesGenerator}, rename globals: ${options.renameGlobals?.toString()}`;

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác