From a52ea80f9d1dddcaa8b0ce1cf20df68e02d13b15 Mon Sep 17 00:00:00 2001 From: uoengopen Date: Sat, 28 May 2022 16:33:11 +0800 Subject: [PATCH] guofeng43@huawei.com Signed-off-by: uoengopen --- .../hidebugtestjstest/src/main/js/default/test/Hidebug.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 158a92ce8..f6f0e3c93 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 @@ -348,7 +348,7 @@ describe('HidebugJsTest', function () { try { let temp = hidebug.getServiceDump(10); console.info("ServiceDump is " + temp); - expect(temp.indexof('Success')!=-1).assertTrue(); + expect(temp.indexOf('Success')!=-1).assertTrue(); } catch (error) { expect().assertFail(); } -- GitLab