Changed eval hello-world test

This commit is contained in:
sanex
2020-09-20 20:25:44 +03:00
parent 45bd72dd7f
commit b2297df287
2 changed files with 4 additions and 11 deletions
@@ -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();