提交 d7cef0de 编写于 作者: Z zhuoli

Ignore tsc check for native imports

Signed-off-by: Nzhuoli <pengzhuoli@huawei.com>
Change-Id: I5bcadc37c9e823a3f62049007bc58cf865370a69
上级 692f5cb0
......@@ -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() {
......
......@@ -15,6 +15,7 @@
*/
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
// @ts-ignore
import ndkTest from 'libImagePixelMapNDKTest.so'
export default function ImagePixelMapNDKTest() {
......@@ -744,4 +745,4 @@ export default function ImagePixelMapNDKTest() {
await pixelMapErrTest(done, 'SUB_GRAPHIC_IMAGE_PIXELMAPNDK_ERR_2400', 'crop', checkResult, 0, 1, true, 2);
})
})
}
\ No newline at end of file
}
......@@ -16,6 +16,7 @@
import image from "@ohos.multimedia.image";
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
// @ts-ignore
import ndkTest from 'libImageReceiverNDKTest.so'
export default function ImageReceiverNDKTest() {
......@@ -365,4 +366,4 @@ export default function ImageReceiverNDKTest() {
}
})
})
}
\ No newline at end of file
}
......@@ -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.
先完成此消息的编辑!
想要评论请 注册