From 5474f6cee29c41a671d21da615afa74840008559 Mon Sep 17 00:00:00 2001 From: 15929983503 Date: Tue, 7 Mar 2023 11:57:31 +0800 Subject: [PATCH] =?UTF-8?q?hisyseventjs=E5=A2=9E=E5=BC=BA=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=A7=84=E8=8C=831018?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 15929983503 --- .../hisyseventjstest/src/main/js/test/HiSysEventSecond.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/HiSysEventSecond.test.js b/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/HiSysEventSecond.test.js index 321da6ba8..b3e20df21 100644 --- a/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/HiSysEventSecond.test.js +++ b/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/HiSysEventSecond.test.js @@ -1212,7 +1212,7 @@ describe('hiSysEventJsSecondTest', function () { it('testHiSysEventApi53', 3, async function (done) { console.info('testHiSysEventApi53 start') try { - hiSysEvent.write((err, val) => { + hiSysEvent.write({}, (err, val) => { if (err) { console.error('in testHiSysEventApi53 test callback: err.code = ' + err.code) } else { -- GitLab