@@ -196,47 +196,54 @@ describe('SlideLayout', () => {
196196  } ) ; 
197197
198198  it ( 'SlideLayout.BigFact should render a slide with fact text' ,  ( )  =>  { 
199-     const  {  getByText }  =  renderInDeck ( < SlideLayout . BigFact  fact = { '100%' }  /> ) ; 
199+     const  {  getByText }  =  renderInDeck ( 
200+       < SlideLayout . BigFact > 100%</ SlideLayout . BigFact > 
201+     ) ; 
200202
201203    expect ( getByText ( '100%' ) ) . toBeDefined ( ) ; 
202204  } ) ; 
203205
204206  it ( 'SlideLayout.BigFact should render a slide with props passed through' ,  ( )  =>  { 
205207    const  {  getByText }  =  renderInDeck ( 
206-       < SlideLayout . BigFact  fact = { '100%' }  factProps = { {  fontSize : '88px'  } }  /> 
208+       < SlideLayout . BigFact  factProps = { {  fontSize : '88px'  } } > 
209+         100%
210+       </ SlideLayout . BigFact > 
207211    ) ; 
208212
209213    expect ( getByText ( '100%' ) ) . toHaveStyle ( {  fontSize : '88px'  } ) ; 
210214  } ) ; 
211215
212216  it ( 'SlideLayout.BigFact should render a fact with default font size' ,  ( )  =>  { 
213-     const  {  getByText }  =  renderInDeck ( < SlideLayout . BigFact  fact = { '100%' }  /> ) ; 
217+     const  {  getByText }  =  renderInDeck ( 
218+       < SlideLayout . BigFact > 100%</ SlideLayout . BigFact > 
219+     ) ; 
214220
215221    expect ( getByText ( '100%' ) ) . toHaveStyle ( {  fontSize : '250px'  } ) ; 
216222  } ) ; 
217223
218224  it ( 'SlideLayout.BigFact should render a fact with customizable font size' ,  ( )  =>  { 
219225    const  {  getByText }  =  renderInDeck ( 
220-       < SlideLayout . BigFact  fact = { '100%' }   factFontSize = { '150px' }   / >
226+       < SlideLayout . BigFact  factFontSize = { '150px' } > 100% </ SlideLayout . BigFact > 
221227    ) ; 
222228
223229    expect ( getByText ( '100%' ) ) . toHaveStyle ( {  fontSize : '150px'  } ) ; 
224230  } ) ; 
225231
226232  it ( 'SlideLayout.BigFact should render a slide with fact information if it exists' ,  ( )  =>  { 
227233    const  {  getByText }  =  renderInDeck ( 
228-       < SlideLayout . BigFact  fact = { '100%' }  factInformation = { 'We earned 100%!' }  /> 
234+       < SlideLayout . BigFact  factInformation = { 'We earned 100%!' } > 
235+         100%
236+       </ SlideLayout . BigFact > 
229237    ) ; 
230238
231239    expect ( getByText ( 'We earned 100%!' ) ) . toBeDefined ( ) ; 
232240  } ) ; 
233241
234242  it ( 'SlideLayout.Quote should render a slide with a quote and attribution text' ,  ( )  =>  { 
235243    const  {  getByText }  =  renderInDeck ( 
236-       < SlideLayout . Quote 
237-         quote = { 'To be, or not to be...' } 
238-         attribution = { 'William Shakespeare' } 
239-       /> 
244+       < SlideLayout . Quote  attribution = { 'William Shakespeare' } > 
245+         To be, or not to be...
246+       </ SlideLayout . Quote > 
240247    ) ; 
241248
242249    expect ( getByText ( 'To be, or not to be...' ) ) . toBeDefined ( ) ; 
@@ -246,13 +253,14 @@ describe('SlideLayout', () => {
246253  it ( 'SlideLayout.Quote should render a slide with quote and attribution props passed through' ,  ( )  =>  { 
247254    const  {  getByText }  =  renderInDeck ( 
248255      < SlideLayout . Quote 
249-         quote = { 
250-           "I've learned that people will forget what you said, people will forget what you did, but people will never forget how you made them feel." 
251-         } 
252256        quoteProps = { {  fontSize : '68px'  } } 
253257        attribution = { 'Maya Angelou' } 
254258        attributionProps = { {  fontSize : '48px'  } } 
255-       /> 
259+       > 
260+         { /* eslint-disable-next-line react/no-unescaped-entities */ } 
261+         I've learned that people will forget what you said, people will forget
262+         what you did, but people will never forget how you made them feel.
263+       </ SlideLayout . Quote > 
256264    ) ; 
257265
258266    expect ( 
0 commit comments