From 3df6857a813e6800da6c82faf886a4d527115d65 Mon Sep 17 00:00:00 2001 From: uoengopen Date: Mon, 28 Mar 2022 20:45:38 +0800 Subject: [PATCH] guofeng43@huawei.com Signed-off-by: uoengopen --- .../src/main/js/default/test/Hidebug.test.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/hiviewdfx/hidebugtest/hidebugtestjstest/src/main/js/default/test/Hidebug.test.js b/hiviewdfx/hidebugtest/hidebugtestjstest/src/main/js/default/test/Hidebug.test.js index 56f2ad29f..9f5a8b572 100644 --- a/hiviewdfx/hidebugtest/hidebugtestjstest/src/main/js/default/test/Hidebug.test.js +++ b/hiviewdfx/hidebugtest/hidebugtestjstest/src/main/js/default/test/Hidebug.test.js @@ -186,8 +186,7 @@ describe('HidebugJsTest', function () { console.log(JSON.stringify(res)); } catch(e) { console.info('the file is not exists'); - }; - + } try { hidebug.startProfiling(''); let temp = 100; @@ -216,7 +215,7 @@ describe('HidebugJsTest', function () { console.log(JSON.stringify(res)); } catch(e) { console.info('the file is not exists'); - }; + } let str = ''; for (let i = 0; i < 1000; i++) { str += 'abcd'; @@ -272,8 +271,7 @@ describe('HidebugJsTest', function () { console.log(JSON.stringify(res)); } catch(e) { console.info('the file is not exists'); - }; - + } try { hidebug.dumpHeapData(''); fileio.accessSync(path, 0); @@ -300,7 +298,7 @@ describe('HidebugJsTest', function () { console.log(JSON.stringify(res)); } catch(e) { console.info('the file is not exists'); - }; + } let str = ''; for (let i = 0; i < 1000; i++) { str += 'abcd'; -- GitLab