未验证 提交 4508617e 编写于 作者: L laoyitong 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-testRunner.md.

Signed-off-by: Nlaoyitong <393272615@qq.com>
上级 dd78fd3a
......@@ -29,7 +29,7 @@ export default class UserTestRunner implements TestRunner {
onPrepare() {
console.log("Trigger onPrepare")
}
onRun(){}
onRun() {}
};
```
......@@ -47,9 +47,9 @@ onRun(): void
```js
export default class UserTestRunner implements TestRunner {
onPrepare() {
onPrepare() {}
onRun() {
console.log("Trigger onRun")
}
onRun(){}
};
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册