提交 632772b6 编写于 作者: Z zhuoli

Ignore tsc check for native imports

Signed-off-by: Nzhuoli <pengzhuoli@huawei.com>
Change-Id: I35ed570469ff6e063df6a83f4e0f471f41d0db49
上级 7237e727
......@@ -15,6 +15,7 @@
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"
// @ts-ignore
import napitest from 'libnapitest.so'
......
......@@ -14,6 +14,7 @@
*/
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"
// @ts-ignore
import bundlendk from 'libbundlendk.so'
const BUNDLE_NAME = "com.actsbundle.napitest"
......
......@@ -16,6 +16,7 @@
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
import resManager from '@ohos.resourceManager'
// @ts-ignore
import ndk from 'libresmgrndk.so'
export default function abilityTest() {
......@@ -48,4 +49,4 @@ export default function abilityTest() {
done();
})
})
}
\ No newline at end of file
}
......@@ -14,6 +14,7 @@
*/
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from '@ohos/hypium'
import hilog from '@ohos.hilog'
// @ts-ignore
import hilogndk from "libhilogndk.so"
export default function HilogJsTest() {
......
......@@ -16,6 +16,7 @@
// @ts-nocheck
import image from '@ohos.multimedia.image'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
// @ts-ignore
import mypixelmap from "libimagePixelmap.so"
export default function nativeApiImageJsunit() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册