mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Added code output on error in the runtime tests
This commit is contained in:
@@ -210,7 +210,7 @@ describe('JavaScriptObfuscator runtime eval', function () {
|
||||
evaluationResult = result;
|
||||
})
|
||||
.catch((error: Error) => {
|
||||
evaluationResult = `${error.message}. ${error.stack}`;
|
||||
evaluationResult = `${error.message}. ${error.stack}. Code: ${obfuscatedCode}`;
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user