@@ -9,9 +9,9 @@ describe("themingParameters/dataUri", function() {
99 it ( "should not add theming parameters when library name is missing" , function ( ) {
1010 const result = { } ;
1111 const options = { } ;
12- const returnedResult = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
12+ const returnValue = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
1313
14- assert . equal ( returnedResult , result , "result object reference should be returned" ) ;
14+ assert . equal ( returnValue , undefined , "nothing should be returned" ) ;
1515 assert . deepEqual ( result , { } , "result object should not be modified" ) ;
1616 } ) ;
1717
@@ -25,9 +25,9 @@ describe("themingParameters/dataUri", function() {
2525 name : "sap.ui.test"
2626 }
2727 } ;
28- const returnedResult = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
28+ const returnValue = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
2929
30- assert . equal ( returnedResult , result , "result object reference should be returned" ) ;
30+ assert . equal ( returnValue , undefined , "nothing should be returned" ) ;
3131 assert . deepEqual ( result , {
3232 variables : { foo : "bar" } ,
3333 css : `/* css */
@@ -50,9 +50,9 @@ describe("themingParameters/dataUri", function() {
5050 name : "sap.ui.test"
5151 }
5252 } ;
53- const returnedResult = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
53+ const returnValue = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
5454
55- assert . equal ( returnedResult , result , "result object reference should be returned" ) ;
55+ assert . equal ( returnValue , undefined , "nothing should be returned" ) ;
5656 assert . deepEqual ( result , {
5757 variables : {
5858 foo : "50%" ,
@@ -78,9 +78,9 @@ data:text/plain;utf-8,%7B%22foo%22%3A%2250%25%22%2C%22bar%22%3A%22%27%5C%22%27%2
7878 } ,
7979 rtl : true
8080 } ;
81- const returnedResult = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
81+ const returnValue = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
8282
83- assert . equal ( returnedResult , result , "result object reference should be returned" ) ;
83+ assert . equal ( returnValue , undefined , "nothing should be returned" ) ;
8484 assert . deepEqual ( result , {
8585 variables : { foo : "bar" } ,
8686 css : `/* css */
@@ -106,9 +106,9 @@ data:text/plain;utf-8,%7B%22foo%22%3A%2250%25%22%2C%22bar%22%3A%22%27%5C%22%27%2
106106 } ,
107107 cssVariables : true
108108 } ;
109- const returnedResult = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
109+ const returnValue = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
110110
111- assert . equal ( returnedResult , result , "result object reference should be returned" ) ;
111+ assert . equal ( returnValue , undefined , "nothing should be returned" ) ;
112112 assert . deepEqual ( result , {
113113 variables : { foo : "bar" } ,
114114 css : `/* css */
@@ -136,9 +136,9 @@ data:text/plain;utf-8,%7B%22foo%22%3A%2250%25%22%2C%22bar%22%3A%22%27%5C%22%27%2
136136 rtl : true ,
137137 cssVariables : true
138138 } ;
139- const returnedResult = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
139+ const returnValue = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
140140
141- assert . equal ( returnedResult , result , "result object reference should be returned" ) ;
141+ assert . equal ( returnValue , undefined , "nothing should be returned" ) ;
142142 assert . deepEqual ( result , {
143143 variables : { foo : "bar" } ,
144144 css : `/* css */
0 commit comments