提交 390f499f 编写于 作者: W wangzx0705

fix some build error

Signed-off-by: Nwangzx0705 <wangzx0705@thundersoft.com>
上级 4d911162
...@@ -93,7 +93,7 @@ export default function audioRendererTest() { ...@@ -93,7 +93,7 @@ export default function audioRendererTest() {
} catch (error) { } catch (error) {
if (error) { if (error) {
console.log(`${TagFrmwkRender}: On catch error, error: [${error.code}, ${error.message}]`); console.log(`${TagFrmwkRender}: On catch error, error: [${error.code}, ${error.message}]`);
expect(Number(error.code)).assertEqual(INVALID_INPUT_PARAMETER_401); expect(Number(error.code)).assertEqual(env.INVALID_INPUT_PARAMETER_401);
done(); done();
} else { } else {
expect(false).assertTrue(); expect(false).assertTrue();
...@@ -125,7 +125,7 @@ export default function audioRendererTest() { ...@@ -125,7 +125,7 @@ export default function audioRendererTest() {
} catch (error) { } catch (error) {
if (error) { if (error) {
console.log(`${TagFrmwkRender}: On catch error, error: [${error.code}, ${error.message}]`); console.log(`${TagFrmwkRender}: On catch error, error: [${error.code}, ${error.message}]`);
expect(Number(error.code)).assertEqual(INVALID_INPUT_PARAMETER_6800101); expect(Number(error.code)).assertEqual(env.INVALID_INPUT_PARAMETER_6800101);
done(); done();
} else { } else {
expect(false).assertTrue(); expect(false).assertTrue();
...@@ -158,7 +158,7 @@ export default function audioRendererTest() { ...@@ -158,7 +158,7 @@ export default function audioRendererTest() {
} catch (error) { } catch (error) {
if (error) { if (error) {
console.log(`${TagFrmwkRender}: On: catch error, error: [${error.code}, ${error.message}]`); console.log(`${TagFrmwkRender}: On: catch error, error: [${error.code}, ${error.message}]`);
expect(Number(error.code)).assertEqual(INVALID_INPUT_PARAMETER_401); expect(Number(error.code)).assertEqual(env.INVALID_INPUT_PARAMETER_401);
done(); done();
} else { } else {
expect(false).assertTrue(); expect(false).assertTrue();
...@@ -191,7 +191,7 @@ export default function audioRendererTest() { ...@@ -191,7 +191,7 @@ export default function audioRendererTest() {
} catch (error) { } catch (error) {
if (error) { if (error) {
console.log(`${TagFrmwkRender}:On catch error, error: [${error.code}, ${error.message}]`); console.log(`${TagFrmwkRender}:On catch error, error: [${error.code}, ${error.message}]`);
expect(Number(error.code)).assertEqual(INVALID_INPUT_PARAMETER_6800101); expect(Number(error.code)).assertEqual(env.INVALID_INPUT_PARAMETER_6800101);
done(); done();
} else { } else {
expect(false).assertTrue(); expect(false).assertTrue();
...@@ -257,7 +257,7 @@ export default function audioRendererTest() { ...@@ -257,7 +257,7 @@ export default function audioRendererTest() {
} catch (error) { } catch (error) {
if (error) { if (error) {
console.log(`${TagFrmwkRender}: Off catch error, error: [${error.code}, ${error.message}]`); console.log(`${TagFrmwkRender}: Off catch error, error: [${error.code}, ${error.message}]`);
expect(Number(error.code)).assertEqual(INVALID_INPUT_PARAMETER_6800101); expect(Number(error.code)).assertEqual(env.INVALID_INPUT_PARAMETER_6800101);
done(); done();
} else { } else {
expect(false).assertTrue(); expect(false).assertTrue();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册