@@ -59,7 +59,8 @@ describe('PropTest', () => {
5959 const [ ed ] = await waitForEditorsToLoad ( fixture ) ;
6060 expect ( ed . id ) . to . equal ( 'my-id' ) ;
6161 } ) ;
62- expect ( containsIDWarning ( warnings ) , 'Should not contain an ID warning' ) . to . be . false ;
62+
63+ expect ( containsIDWarning ( warnings ) === false , 'Should not contain an ID warning' ) ;
6364 } ) ;
6465 } ) ;
6566
@@ -89,9 +90,9 @@ describe('PropTest', () => {
8990 const [ ed1 , ed2 ] = await waitForEditorsToLoad ( fixture ) ;
9091 expect ( ed1 . id ) . to . equal ( 'my-id-0' ) ;
9192 expect ( ed1 . getContent ( ) ) . to . equal ( '<p>text1</p>' ) ;
92- expect ( ed2 ) . to . be . undefined ;
93+ expect ( ed2 ) . to . equal ( undefined ) ;
9394 } ) ;
94- expect ( containsIDWarning ( warnings ) , 'Should contain an ID warning' ) . to . be . true ;
95+ expect ( containsIDWarning ( warnings ) === true , 'Should contain an ID warning' ) ;
9596 } ) ;
9697
9798 it ( 'INT-3299: creating more than one editor with different IDs does not log a warning' , async ( ) => {
@@ -110,10 +111,10 @@ describe('PropTest', () => {
110111 expect ( ed2 . editor ?. getContent ( ) ) . to . equal ( '<p>text1</p>' ) ;
111112 expect ( ed3 . id ) . to . equal ( 'my-id-2' ) ;
112113 expect ( ed3 . editor ?. getContent ( ) ) . to . equal ( '<p>text2</p>' ) ;
113- expect ( ed4 ?. editor ) . to . be . undefined ;
114+ expect ( ed4 ?. editor ) . to . equal ( undefined ) ;
114115 } , 1000 , 10000 ) ;
115116 } ) ;
116- expect ( containsIDWarning ( warnings ) , 'Should not contain an ID warning' ) . to . be . false ;
117+ expect ( containsIDWarning ( warnings ) , 'Should not contain an ID warning' ) . to . equal ( false ) ;
117118 } ) ;
118119 } ) ;
119120 } ) ;
0 commit comments