File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/taro-ui/test/components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ describe('Modal Snap', () => {
84
84
title = '标题'
85
85
cancelText = '取消'
86
86
confirmText = '确认'
87
- content = '欢迎加入京东凹凸实验室\n\r欢迎加入京东凹凸实验室 '
87
+ content = '欢迎加入京东凹凸实验室\n欢迎加入京东凹凸实验室 '
88
88
/>
89
89
)
90
90
expect ( component ) . toMatchSnapshot ( )
@@ -106,7 +106,7 @@ describe('Modal Behavior ', () => {
106
106
onClose = { onClose }
107
107
onCancel = { onCancel }
108
108
onConfirm = { onConfirm }
109
- content = '欢迎加入京东凹凸实验室\n\r欢迎加入京东凹凸实验室 '
109
+ content = '欢迎加入京东凹凸实验室\n欢迎加入京东凹凸实验室 '
110
110
/>
111
111
)
112
112
const componentDom = findDOMNode ( component , 'at-modal' )
@@ -144,7 +144,7 @@ describe('Modal Behavior ', () => {
144
144
closeOnClickOverlay = { false }
145
145
confirmText = '确认'
146
146
onClose = { onClose }
147
- content = '欢迎加入京东凹凸实验室\n\r欢迎加入京东凹凸实验室 '
147
+ content = '欢迎加入京东凹凸实验室\n欢迎加入京东凹凸实验室 '
148
148
/>
149
149
)
150
150
const componentDom = findDOMNode ( component , 'at-modal' )
You can’t perform that action at this time.
0 commit comments