瀏覽代碼

Removed done callback

Timofey Kachalov 5 年之前
父節點
當前提交
31a70a58ec
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 () {
             });
         });
     });
-});
+});