From f50301c2aab900465e89d1c82fbac27b0a98a64b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Thu, 14 Sep 2017 20:18:57 +0800 Subject: [PATCH] Coupon: fix test case fail --- test/unit/specs/coupon.spec.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/unit/specs/coupon.spec.js b/test/unit/specs/coupon.spec.js index 2350607fa..45c5fe334 100644 --- a/test/unit/specs/coupon.spec.js +++ b/test/unit/specs/coupon.spec.js @@ -82,8 +82,7 @@ describe('CouponCell', () => { DOMChecker(wrapper, { text: { - '.van-cell__value--link h2': '新手专用优惠券 省¥1.50', - '.van-cell__value--link span': '下单立减 1.50 元' + '.van-cell__value--link div div': '新手专用优惠券 省¥1.50' }, count: { '.van-cell__right-icon': 1 @@ -102,8 +101,7 @@ describe('CouponCell', () => { DOMChecker(wrapper, { text: { - '.van-cell__value h2': '新手专用优惠券 省¥1.50', - '.van-cell__value span': '下单立减 1.50 元' + '.van-cell__value div div': '新手专用优惠券 省¥1.50' }, count: { '.van-cell__right-icon': 0