Explorar el Código

Removed done callback

Timofey Kachalov hace 5 años
padre
commit
31a70a58ec
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      test/runtime-tests/JavaScriptObfuscatorRuntime.spec.ts

+ 2 - 2
test/runtime-tests/JavaScriptObfuscatorRuntime.spec.ts

@@ -174,7 +174,7 @@ describe('JavaScriptObfuscator runtime eval', function () {
 
                 let evaluationResult: string;
 
-                beforeEach((done) => {
+                beforeEach(() => {
                     const code: string = readFileAsString(process.cwd() + '/dist/index.js');
 
                     const obfuscatedCode: string = JavaScriptObfuscator.obfuscate(
@@ -268,4 +268,4 @@ describe('JavaScriptObfuscator runtime eval', function () {
             });
         });
     });
-});
+});