@@ -9,9 +9,9 @@ describe("themingParameters/dataUri", function() {
9
9
it ( "should not add theming parameters when library name is missing" , function ( ) {
10
10
const result = { } ;
11
11
const options = { } ;
12
- const returnedResult = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
12
+ const returnValue = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
13
13
14
- assert . equal ( returnedResult , result , "result object reference should be returned" ) ;
14
+ assert . equal ( returnValue , undefined , "nothing should be returned" ) ;
15
15
assert . deepEqual ( result , { } , "result object should not be modified" ) ;
16
16
} ) ;
17
17
@@ -25,9 +25,9 @@ describe("themingParameters/dataUri", function() {
25
25
name : "sap.ui.test"
26
26
}
27
27
} ;
28
- const returnedResult = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
28
+ const returnValue = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
29
29
30
- assert . equal ( returnedResult , result , "result object reference should be returned" ) ;
30
+ assert . equal ( returnValue , undefined , "nothing should be returned" ) ;
31
31
assert . deepEqual ( result , {
32
32
variables : { foo : "bar" } ,
33
33
css : `/* css */
@@ -50,9 +50,9 @@ describe("themingParameters/dataUri", function() {
50
50
name : "sap.ui.test"
51
51
}
52
52
} ;
53
- const returnedResult = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
53
+ const returnValue = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
54
54
55
- assert . equal ( returnedResult , result , "result object reference should be returned" ) ;
55
+ assert . equal ( returnValue , undefined , "nothing should be returned" ) ;
56
56
assert . deepEqual ( result , {
57
57
variables : {
58
58
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
78
78
} ,
79
79
rtl : true
80
80
} ;
81
- const returnedResult = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
81
+ const returnValue = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
82
82
83
- assert . equal ( returnedResult , result , "result object reference should be returned" ) ;
83
+ assert . equal ( returnValue , undefined , "nothing should be returned" ) ;
84
84
assert . deepEqual ( result , {
85
85
variables : { foo : "bar" } ,
86
86
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
106
106
} ,
107
107
cssVariables : true
108
108
} ;
109
- const returnedResult = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
109
+ const returnValue = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
110
110
111
- assert . equal ( returnedResult , result , "result object reference should be returned" ) ;
111
+ assert . equal ( returnValue , undefined , "nothing should be returned" ) ;
112
112
assert . deepEqual ( result , {
113
113
variables : { foo : "bar" } ,
114
114
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
136
136
rtl : true ,
137
137
cssVariables : true
138
138
} ;
139
- const returnedResult = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
139
+ const returnValue = themingParametersDataUri . addInlineParameters ( { result, options} ) ;
140
140
141
- assert . equal ( returnedResult , result , "result object reference should be returned" ) ;
141
+ assert . equal ( returnValue , undefined , "nothing should be returned" ) ;
142
142
assert . deepEqual ( result , {
143
143
variables : { foo : "bar" } ,
144
144
css : `/* css */
0 commit comments