提交 a2f9704c 编写于 作者: H huangke11

add cust js api test

Signed-off-by: Nhuangke11 <huangke11@huawei.com>
上级 fd828ca7
...@@ -13,7 +13,9 @@ ...@@ -13,7 +13,9 @@
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
} },
{
"type": "ShellKit",
"run-command": [ "run-command": [
"mkdir -p /system/etc/custxml/", "mkdir -p /system/etc/custxml/",
"mkdir -p /sys-prod/etc/custxml/", "mkdir -p /sys-prod/etc/custxml/",
...@@ -22,5 +24,6 @@ ...@@ -22,5 +24,6 @@
"touch /sys-prod/etc/custxml/both.xml", "touch /sys-prod/etc/custxml/both.xml",
"touch /sys-prod/etc/custxml/user.xml" "touch /sys-prod/etc/custxml/user.xml"
] ]
}
] ]
} }
...@@ -12,8 +12,9 @@ ...@@ -12,8 +12,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import cust from '@ohos.cust'
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'
import cust from '@ohos.cust'
describe('CustTest', function () { describe('CustTest', function () {
console.log('CustTest**************************start'); console.log('CustTest**************************start');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册