File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,11 @@ describe('Textarea', () => {
3232
3333 hydrate ( < App /> , scratch ) ;
3434 expect ( scratch . firstElementChild . value ) . to . equal ( 'foo' ) ;
35- expect ( scratch . innerHTML ) . to . be . equal ( '<textarea></textarea>' ) ;
35+
36+ // IE11 always displays the value as node.innerHTML
37+ if ( ! / T r i d e n t / . test ( window . navigator . userAgent ) ) {
38+ expect ( scratch . innerHTML ) . to . be . equal ( '<textarea></textarea>' ) ;
39+ }
3640 } ) ;
3741
3842 it ( 'should alias defaultValue to children' , ( ) => {
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ describe('render()', () => {
8585 } ) ;
8686
8787 // IE11 doesn't support these.
88- if ( / T r i d e n t / . test ( window . navigator . userAgent ) ) {
88+ if ( ! / T r i d e n t / . test ( window . navigator . userAgent ) ) {
8989 it ( 'should render px width and height on img correctly' , ( ) => {
9090 render ( < img width = "100px" height = "100px" /> , scratch ) ;
9191 expect ( scratch . innerHTML ) . to . eql ( `<img width="100px" height="100px">` ) ;
You can’t perform that action at this time.
0 commit comments