提交 d7cef0de 编写于 作者: Z zhuoli

Ignore tsc check for native imports

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