Explorar o código

Removed done callback

Timofey Kachalov %!s(int64=5) %!d(string=hai) anos
pai
achega
31a70a58ec
Modificáronse 1 ficheiros con 2 adicións e 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 () {
             });
         });
     });
-});
+});