From 5dc3acfa94609124b36e981759230bac813165e0 Mon Sep 17 00:00:00 2001 From: Gloria Date: Fri, 25 Nov 2022 10:15:53 +0800 Subject: [PATCH] Update docs against 11248 Signed-off-by: wusongqing --- en/application-dev/reference/apis/js-apis-testRunner.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-testRunner.md b/en/application-dev/reference/apis/js-apis-testRunner.md index c82668961c..403ec97e87 100644 --- a/en/application-dev/reference/apis/js-apis-testRunner.md +++ b/en/application-dev/reference/apis/js-apis-testRunner.md @@ -29,7 +29,7 @@ export default class UserTestRunner implements TestRunner { onPrepare() { console.log("Trigger onPrepare") } - onRun(){} + onRun() {} }; ``` @@ -47,9 +47,9 @@ Runs test cases. ```js export default class UserTestRunner implements TestRunner { - onPrepare() { - console.log("Trigger onRun") + onPrepare() {} + onRun() { + console.log("Trigger onRun") } - onRun(){} }; ``` -- GitLab