mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
tests: try to find the cause of test error
This commit is contained in:
-2
@@ -58,8 +58,6 @@ describe('BinaryExpressionControlFlowReplacer', () => {
|
||||
|
||||
assert.match(obfuscatedCode, controlFlowStorageCallRegExp1);
|
||||
assert.match(obfuscatedCode, controlFlowStorageCallRegExp2);
|
||||
assert.isOk(firstMatch);
|
||||
assert.isOk(secondMatch);
|
||||
|
||||
if (firstMatch === secondMatch) {
|
||||
equalsValue++;
|
||||
|
||||
-2
@@ -58,8 +58,6 @@ describe('CallExpressionControlFlowReplacer', () => {
|
||||
|
||||
assert.match(obfuscatedCode, controlFlowStorageCallRegExp1);
|
||||
assert.match(obfuscatedCode, controlFlowStorageCallRegExp2);
|
||||
assert.isOk(firstMatch);
|
||||
assert.isOk(secondMatch);
|
||||
|
||||
if (firstMatch === secondMatch) {
|
||||
equalsValue++;
|
||||
|
||||
-2
@@ -58,8 +58,6 @@ describe('LogicalExpressionControlFlowReplacer', () => {
|
||||
|
||||
assert.match(obfuscatedCode, controlFlowStorageCallRegExp1);
|
||||
assert.match(obfuscatedCode, controlFlowStorageCallRegExp2);
|
||||
assert.isOk(firstMatch);
|
||||
assert.isOk(secondMatch);
|
||||
|
||||
if (firstMatch === secondMatch) {
|
||||
equalsValue++;
|
||||
|
||||
Reference in New Issue
Block a user