@@ -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();