未验证 提交 514212f7 编写于 作者: O openharmony_ci 提交者: Gitee

!2962 Modify NewSecondWorker problems of test cases

Merge pull request !2962 from hyq5234/master
......@@ -17,6 +17,7 @@ import worker from "@ohos.worker"
const parentPort = worker.parentPort;
var ss = undefined;
var flag = false;
parentPort.onmessage = function(e) {
let data = e.data;
......
......@@ -40,7 +40,7 @@ describe('workerTest', function () {
let isTerminate = false
ss.onexit = function () {
isTerminate = true
isTerminate = true
}
expect(ss != null).assertTrue()
......@@ -111,7 +111,7 @@ describe('workerTest', function () {
let res = undefined
let flag = false
let isTerminate = false
ss.onexit = function () {
isTerminate = true
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册