提交 3950853a 编写于 作者: L ling990

modify testcases Signed-off-by: ling990 <liling96@huawei.com>

Signed-off-by: Nling990 <ling990@qq.com>
......@@ -38,7 +38,7 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () {
console.info('beforeAll case');
})
beforeEach(function() {
beforeEach(async function() {
console.info('beforeEach case');
await msleep(1000).then(() => {
}, failCallback).catch(failCatch);
......
......@@ -37,7 +37,7 @@ describe('videoSoftwareEncoderFuncPromise', function () {
console.info('beforeAll case');
})
beforeEach(function() {
beforeEach(async function() {
console.info('beforeEach case');
await msleep(1000).then(() => {
}, failCallback).catch(failCatch);
......
......@@ -65,7 +65,7 @@ describe('videoEncoderReliabilityPromise', function () {
console.info('beforeAll case');
})
beforeEach(function() {
beforeEach(async function() {
console.info('beforeEach case');
await msleep(1000).then(() => {
}, failCallback).catch(failCatch);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部