@@ -393,89 +393,117 @@ describe("Layout - Isolation", () => {
393393describe ( "Layout - Object Fit" , ( ) => {
394394 test ( "object-contain" , async ( ) => {
395395 expect ( await renderCurrentTest ( ) ) . toStrictEqual ( {
396- props : { } ,
397- warnings : { properties : [ "object-fit" ] } ,
396+ props : {
397+ contentFit : "contain" ,
398+ style : { } ,
399+ } ,
398400 } ) ;
399401 } ) ;
400402 test ( "object-cover" , async ( ) => {
401403 expect ( await renderCurrentTest ( ) ) . toStrictEqual ( {
402- props : { } ,
403- warnings : { properties : [ "object-fit" ] } ,
404+ props : {
405+ contentFit : "cover" ,
406+ style : { } ,
407+ } ,
404408 } ) ;
405409 } ) ;
406410 test ( "object-fill" , async ( ) => {
407411 expect ( await renderCurrentTest ( ) ) . toStrictEqual ( {
408- props : { } ,
409- warnings : { properties : [ "object-fit" ] } ,
412+ props : {
413+ contentFit : "fill" ,
414+ style : { } ,
415+ } ,
410416 } ) ;
411417 } ) ;
412418 test ( "object-none" , async ( ) => {
413419 expect ( await renderCurrentTest ( ) ) . toStrictEqual ( {
414- props : { } ,
415- warnings : { properties : [ "object-fit" ] } ,
420+ props : {
421+ contentFit : "none" ,
422+ style : { } ,
423+ } ,
416424 } ) ;
417425 } ) ;
418426 test ( "object-scale-down" , async ( ) => {
419427 expect ( await renderCurrentTest ( ) ) . toStrictEqual ( {
420- props : { } ,
421- warnings : { properties : [ "object-fit" ] } ,
428+ props : {
429+ contentFit : "scale-down" ,
430+ style : { } ,
431+ } ,
422432 } ) ;
423433 } ) ;
424434} ) ;
425435
426436describe ( "Layout - Object Position" , ( ) => {
427437 test ( "object-bottom" , async ( ) => {
428438 expect ( await renderCurrentTest ( ) ) . toStrictEqual ( {
429- props : { } ,
430- warnings : { properties : [ "object-position" ] } ,
439+ props : {
440+ contentPosition : "bottom" ,
441+ style : { } ,
442+ } ,
431443 } ) ;
432444 } ) ;
433445 test ( "object-center" , async ( ) => {
434446 expect ( await renderCurrentTest ( ) ) . toStrictEqual ( {
435- props : { } ,
436- warnings : { properties : [ "object-position" ] } ,
447+ props : {
448+ contentPosition : "center" ,
449+ style : { } ,
450+ } ,
437451 } ) ;
438452 } ) ;
439453 test ( "object-left" , async ( ) => {
440454 expect ( await renderCurrentTest ( ) ) . toStrictEqual ( {
441- props : { } ,
442- warnings : { properties : [ "object-position" ] } ,
455+ props : {
456+ contentPosition : "left" ,
457+ style : { } ,
458+ } ,
443459 } ) ;
444460 } ) ;
445461 test ( "object-left-bottom" , async ( ) => {
446462 expect ( await renderCurrentTest ( ) ) . toStrictEqual ( {
447- props : { } ,
448- warnings : { properties : [ "object-position" ] } ,
463+ props : {
464+ contentPosition : "left bottom" ,
465+ style : { } ,
466+ } ,
449467 } ) ;
450468 } ) ;
451469 test ( "object-left-top" , async ( ) => {
452470 expect ( await renderCurrentTest ( ) ) . toStrictEqual ( {
453- props : { } ,
454- warnings : { properties : [ "object-position" ] } ,
471+ props : {
472+ contentPosition : "left top" ,
473+ style : { } ,
474+ } ,
455475 } ) ;
456476 } ) ;
457477 test ( "object-right" , async ( ) => {
458478 expect ( await renderCurrentTest ( ) ) . toStrictEqual ( {
459- props : { } ,
460- warnings : { properties : [ "object-position" ] } ,
479+ props : {
480+ contentPosition : "right" ,
481+ style : { } ,
482+ } ,
461483 } ) ;
462484 } ) ;
463485 test ( "object-right-bottom" , async ( ) => {
464486 expect ( await renderCurrentTest ( ) ) . toStrictEqual ( {
465- props : { } ,
466- warnings : { properties : [ "object-position" ] } ,
487+ props : {
488+ contentPosition : "right bottom" ,
489+ style : { } ,
490+ } ,
467491 } ) ;
468492 } ) ;
469493 test ( "object-right-top" , async ( ) => {
470494 expect ( await renderCurrentTest ( ) ) . toStrictEqual ( {
471- props : { } ,
472- warnings : { properties : [ "object-position" ] } ,
495+ props : {
496+ contentPosition : "right top" ,
497+ style : { } ,
498+ } ,
473499 } ) ;
474500 } ) ;
475501 test ( "object-top" , async ( ) => {
476502 expect ( await renderCurrentTest ( ) ) . toStrictEqual ( {
477- props : { } ,
478- warnings : { properties : [ "object-position" ] } ,
503+ props : {
504+ contentPosition : "top" ,
505+ style : { } ,
506+ } ,
479507 } ) ;
480508 } ) ;
481509} ) ;
0 commit comments