@@ -31,7 +31,7 @@ describe('Overlay & Underlay fromJson', () => {
3131 actionType : 'overlay' ,
3232 source,
3333 position,
34- blendMode : 'multiply'
34+ blendMode : { blendModeType : 'multiply' }
3535 } ;
3636
3737 const overlayTransformation = fromJson ( { actions : [ overlayModel ] } ) ;
@@ -62,14 +62,14 @@ describe('Overlay & Underlay fromJson', () => {
6262 source,
6363 position,
6464 timelinePosition,
65- blendMode : 'multiply'
65+ blendMode : { blendModeType : 'antiRemoval' , level : '96' }
6666 } ;
6767
6868 const overlayTransformation = fromJson ( { actions : [ overlayModel ] } ) ;
6969 const underlayTransformation = fromJson ( { actions : [ { ...overlayModel , actionType : 'underlay' } ] } ) ;
7070
71- expect ( overlayTransformation . toString ( ) ) . toStrictEqual ( 'l_video:dog.mp4/ar_7.0,c_scale,w_100/du_2,e_multiply ,fl_layer_apply,fl_tiled,g_north_east,so_1,x_1,y_2' ) ;
72- expect ( underlayTransformation . toString ( ) ) . toStrictEqual ( 'u_video:dog.mp4/ar_7.0,c_scale,w_100/du_2,e_multiply ,fl_layer_apply,fl_tiled,g_north_east,so_1,x_1,y_2' ) ;
71+ expect ( overlayTransformation . toString ( ) ) . toStrictEqual ( 'l_video:dog.mp4/ar_7.0,c_scale,w_100/du_2,e_anti_removal:96 ,fl_layer_apply,fl_tiled,g_north_east,so_1,x_1,y_2' ) ;
72+ expect ( underlayTransformation . toString ( ) ) . toStrictEqual ( 'u_video:dog.mp4/ar_7.0,c_scale,w_100/du_2,e_anti_removal:96 ,fl_layer_apply,fl_tiled,g_north_east,so_1,x_1,y_2' ) ;
7373 } ) ;
7474
7575 it ( 'Should generate Overlay for fetch source' , ( ) => {
@@ -88,14 +88,14 @@ describe('Overlay & Underlay fromJson', () => {
8888 actionType : 'overlay' ,
8989 source,
9090 position,
91- blendMode : 'multiply'
91+ blendMode : { blendModeType : 'antiRemoval' }
9292 } ;
9393
9494 const overlayTransformation = fromJson ( { actions : [ overlayModel ] } ) ;
9595 const underlayTransformation = fromJson ( { actions : [ { ...overlayModel , actionType : 'underlay' } ] } ) ;
9696
97- expect ( overlayTransformation . toString ( ) ) . toStrictEqual ( 'l_fetch:aHR0cHM6Ly9zb21lL2ltYWdlLmpwZw==/ar_7.0,c_scale,w_100/e_multiply ,fl_layer_apply,fl_tiled,g_north_east,x_1,y_2' ) ;
98- expect ( underlayTransformation . toString ( ) ) . toStrictEqual ( 'u_fetch:aHR0cHM6Ly9zb21lL2ltYWdlLmpwZw==/ar_7.0,c_scale,w_100/e_multiply ,fl_layer_apply,fl_tiled,g_north_east,x_1,y_2' ) ;
97+ expect ( overlayTransformation . toString ( ) ) . toStrictEqual ( 'l_fetch:aHR0cHM6Ly9zb21lL2ltYWdlLmpwZw==/ar_7.0,c_scale,w_100/e_anti_removal ,fl_layer_apply,fl_tiled,g_north_east,x_1,y_2' ) ;
98+ expect ( underlayTransformation . toString ( ) ) . toStrictEqual ( 'u_fetch:aHR0cHM6Ly9zb21lL2ltYWdlLmpwZw==/ar_7.0,c_scale,w_100/e_anti_removal ,fl_layer_apply,fl_tiled,g_north_east,x_1,y_2' ) ;
9999 } ) ;
100100
101101 it ( 'Should generate Overlay for text source' , ( ) => {
0 commit comments