mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Changed eval hello-world test
This commit is contained in:
@@ -873,7 +873,7 @@ describe('JavaScriptObfuscator', () => {
|
||||
this.timeout(20000);
|
||||
|
||||
const samplesCount: number = 100;
|
||||
const expectedEvaluationResult: string = 'aaabbbcccdddeee';
|
||||
const expectedEvaluationResult: string = 'Hello World';
|
||||
let isEvaluationSuccessful: boolean = true;
|
||||
|
||||
before(() => {
|
||||
|
||||
@@ -1,11 +1,4 @@
|
||||
function func () {
|
||||
var foo = 'aaa';
|
||||
var bar = 'bbb';
|
||||
var baz = 'ccc';
|
||||
var bark = 'ddd';
|
||||
var hawk = 'eee';
|
||||
|
||||
return foo + bar + baz + bark + hawk;
|
||||
function helloWorld() {
|
||||
return 'Hello World';
|
||||
}
|
||||
|
||||
func();
|
||||
helloWorld();
|
||||
Reference in New Issue
Block a user