update rich ut

Signed-off-by: houhaoyu <houhaoyu@huawei.com>
Change-Id: I76c6b683e2a4559265e4a6dbad14e42c82593468
This commit is contained in:
houhaoyu
2022-01-20 11:59:10 +08:00
parent 8f6f4c622f
commit 96b74b3657
3 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -16,7 +16,8 @@
"rich": "cd sample/rich && webpack --config ../../webpack.rich.config.js",
"lite": "cd sample/lite && webpack --config ../../webpack.lite.config.js",
"card": "cd sample/card && webpack --config ../../webpack.rich.config.js",
"postinstall": "node npm-install.js"
"postinstall": "node npm-install.js",
"richtest": "npm run build && cd test/rich/testcase && webpack --config ../../../webpack.rich.config.js && mocha ../test.js"
},
"devDependencies": {
"chai": "^3.5.0",
@@ -468,8 +468,10 @@
},
{
"type": "xcomponent",
"id": "1",
"attr": {
"debugLine": "pages/privateAttr/privateAttr:130",
"id": "1",
"name": "function () {return this.name}",
"type": "texture"
}
@@ -127,7 +127,7 @@
<stepper index="1"></stepper>
<!-- xcomponent_test -->
<xcomponent name="{{name}}" type="texture"></xcomponent>
<xcomponent name="{{name}}" type="texture" id="1"></xcomponent>
<!-- web_test -->
<web src="{{src}}"></web>