This commit is contained in:
@@ -95,4 +95,7 @@ const styles = fs.readFileSync(path.join(__dirname, 'index.wxss'), 'utf8')
|
||||
;['订单编号', '服务项目', '美甲师', '时长', '成交金额', '取消原因', 'remarkText', 'customerPhoneText'].forEach(text => assert(markup.includes(text)))
|
||||
assert.match(markup, /class="primary-btn transfer-action"/)
|
||||
assert.match(markup, /class="danger-btn"/)
|
||||
assert.match(markup, /appointment\.customerPhoneAvailable && appointment\.orderId/)
|
||||
assert.strictEqual(markup.includes('appointment.customerId && appointment.orderId'), false)
|
||||
assert.match(styles, /\.transfer-action\s*\{[^}]*box-shadow/)
|
||||
assert.match(styles, /\.call-btn\s*\{/)
|
||||
|
||||
Reference in New Issue
Block a user