11// Jest Snapshot v1, https://goo.gl/fbAQLP
22
3- exports [` <CodeEditor > displays placeholder text when value is empty 1`] = `
3+ exports [` <CodeEditor > renders without crashing 1`] = `
44<DocumentFragment >
55 .emotion-0 {
66 position : relative ;
@@ -85,6 +85,7 @@ exports[`<CodeEditor> displays placeholder text when value is empty 1`] = `
8585 - webkit - transition : all 0.3s ;
8686 transition : all 0.3s ;
8787 opacity : 1 ;
88+ opacity : 0 ;
8889}
8990
9091.emotion-4 {
@@ -100,7 +101,7 @@ exports[`<CodeEditor> displays placeholder text when value is empty 1`] = `
100101 class = " cm-theme emotion-1"
101102 >
102103 <div
103- class = " cm-editor ͼ1 ͼ2 ͼ4 ͼ26 ͼ1p "
104+ class = " cm-editor ͼ1 ͼ2 ͼ4 ͼ1n ͼ16 "
104105 >
105106 <div
106107 aria-live = " polite"
@@ -218,126 +219,7 @@ exports[`<CodeEditor> displays placeholder text when value is empty 1`] = `
218219 </svg >
219220 <p
220221 class = " emotion-4"
221- >
222- Placeholder
223- </p >
224- </div >
225- </div >
226- </div >
227- </DocumentFragment >
228- `;
229-
230- exports[`<CodeEditor > renders without crashing 1`] = `
231- <DocumentFragment >
232- .emotion-0 {
233- position : relative ;
234- }
235-
236- .emotion-1 {
237- border : 1px solid ;
238- border - radius : 8px ;
239- overflow : hidden ;
240- position : relative ;
241- z - index : 2 ;
242- }
243-
244- .emotion-1 .cm-editor {
245- background : transparent ;
246- - webkit - transition : all 0.3s ;
247- transition : all 0.3s ;
248- }
249-
250- .emotion-1 .cm-gutters {
251- border : 0 ;
252- }
253-
254- .emotion-1 .cm-lineNumbers .cm-gutterElement {
255- text - align : center ;
256- padding : 0 16px 0 16px ;
257- }
258-
259- .emotion-1 .cm-gutterElement {
260- color : ! important ;
261- }
262-
263- .emotion-1 .cm-content {
264- padding : 16px 0 ;
265- }
266-
267- .emotion-1 .cm-line {
268- padding : 0 16px ;
269- line - height : 1.6 ;
270- }
271-
272- <div
273- class = " emotion-0"
274- >
275- <div
276- class = " cm-theme emotion-1"
277- >
278- <div
279- class = " cm-editor ͼ1 ͼ2 ͼ4 ͼ1n ͼ16"
280- >
281- <div
282- aria-live = " polite"
283- class = " cm-announced"
284222 />
285- <div
286- class = " cm-scroller"
287- tabindex = " -1"
288- >
289- <div
290- aria-hidden = " true"
291- class = " cm-gutters"
292- style = " min-height: 14px; position: sticky;"
293- >
294- <div
295- class = " cm-gutter cm-lineNumbers"
296- >
297- <div
298- class = " cm-gutterElement"
299- style = " height: 0px; visibility: hidden; pointer-events: none;"
300- >
301- 9
302- </div >
303- <div
304- class = " cm-gutterElement cm-activeLineGutter"
305- style = " height: 14px;"
306- >
307- 1
308- </div >
309- </div >
310- </div >
311- <div
312- aria-autocomplete = " list"
313- aria-multiline = " true"
314- autocapitalize = " off"
315- autocorrect = " off"
316- class = " cm-content"
317- contenteditable = " true"
318- data-language = " markdown"
319- role = " textbox"
320- spellcheck = " false"
321- style = " tab-size: 4;"
322- translate = " no"
323- >
324- <div
325- class = " cm-activeLine cm-line"
326- >
327- <br />
328- </div >
329- </div >
330- <div
331- aria-hidden = " true"
332- class = " cm-layer cm-layer-above cm-cursorLayer"
333- style = " z-index: 150; animation-duration: 1200ms;"
334- />
335- <div
336- aria-hidden = " true"
337- class = " cm-layer cm-selectionLayer"
338- style = " z-index: -2;"
339- />
340- </div >
341223 </div >
342224 </div >
343225 </div >
0 commit comments