Skip to content

Commit e1f4f9d

Browse files
committed
cleanup
1 parent 0ee255e commit e1f4f9d

3 files changed

Lines changed: 71 additions & 71 deletions

File tree

lib/public/components/common/popover/overflowBalloon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const doesElementOverflow = (element) => {
3636
* @param {object} [options] a restricted set of popover options
3737
* @param {boolean} [options.stretch=false] if true, the balloon will be displayed when hovering the element in which this component is displayed
3838
* @param {function<triggerNode, boolean>} [options.showCondition=(()=>true)] content show condition
39-
* @param {number} [optionsanchor=PopoverAnchors.TOP_MIDDLE] popover anchor
39+
* @param {number} [options.anchor=PopoverAnchors.TOP_MIDDLE] popover anchor
4040
* @return {Component} the component
4141
*/
4242
export const balloon = (trigger, content, options = null) => {

test/api/qcFlags.test.js

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -84,27 +84,27 @@ module.exports = () => {
8484
explicitlyNotBadEffectiveRunCoverage: 0,
8585
flagComments: [
8686
{
87-
"id": 1,
88-
"comment": "Some qc comment 1",
89-
"flagType": {
90-
"name": "Limited Acceptance MC Reproducible",
91-
"color": "#FFFF00"
87+
id: 1,
88+
comment: "Some qc comment 1",
89+
flagType: {
90+
name: "Limited Acceptance MC Reproducible",
91+
color: "#FFFF00"
9292
}
9393
},
9494
{
95-
"id": 2,
96-
"comment": "Some qc comment 2",
97-
"flagType": {
98-
"name": "Limited acceptance",
99-
"color": "#FFFF00"
95+
id: 2,
96+
comment: "Some qc comment 2",
97+
flagType: {
98+
name: "Limited acceptance",
99+
color: "#FFFF00"
100100
}
101101
},
102102
{
103-
"id": 3,
104-
"comment": "Some qc comment 3",
105-
"flagType": {
106-
"name": "Bad",
107-
"color": null
103+
id: 3,
104+
comment: "Some qc comment 3",
105+
flagType: {
106+
name: "Bad",
107+
color: null
108108
}
109109
}
110110
],
@@ -116,11 +116,11 @@ module.exports = () => {
116116
missingVerificationsCount: 1,
117117
flagComments: [
118118
{
119-
"id": 7,
120-
"comment": "Some qc comment 7",
121-
"flagType": {
122-
"name": "Good",
123-
"color": null
119+
id: 7,
120+
comment: "Some qc comment 7",
121+
flagType: {
122+
name: "Good",
123+
color: null
124124
}
125125
}
126126
],
@@ -134,19 +134,19 @@ module.exports = () => {
134134
missingVerificationsCount: 2,
135135
flagComments: [
136136
{
137-
"id": 202,
138-
"comment": "Some qc comment 1",
139-
"flagType": {
140-
"name": "Good",
141-
"color": null
137+
id: 202,
138+
comment: "Some qc comment 1",
139+
flagType: {
140+
name: "Good",
141+
color: null
142142
}
143143
},
144144
{
145-
"id": 201,
146-
"comment": "Some qc comment 1",
147-
"flagType": {
148-
"name": "Limited Acceptance MC Reproducible",
149-
"color": "#FFFF00"
145+
id: 201,
146+
comment: "Some qc comment 1",
147+
flagType: {
148+
name: "Limited Acceptance MC Reproducible",
149+
color: "#FFFF00"
150150
}
151151
}
152152
],
@@ -158,11 +158,11 @@ module.exports = () => {
158158
missingVerificationsCount: 1,
159159
flagComments: [
160160
{
161-
"id": 203,
162-
"comment": "Some qc comment 1",
163-
"flagType": {
164-
"name": "Good",
165-
"color": null
161+
id: 203,
162+
comment: "Some qc comment 1",
163+
flagType: {
164+
name: "Good",
165+
color: null
166166
}
167167
}
168168
],

test/lib/server/services/qualityControlFlag/QcFlagService.test.js

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -171,27 +171,27 @@ module.exports = () => {
171171
explicitlyNotBadEffectiveRunCoverage: 0,
172172
flagComments: [
173173
{
174-
"id": 1,
175-
"comment": "Some qc comment 1",
176-
"flagType": {
177-
"name": "Limited Acceptance MC Reproducible",
178-
"color": "#FFFF00"
174+
id: 1,
175+
comment: "Some qc comment 1",
176+
flagType: {
177+
name: "Limited Acceptance MC Reproducible",
178+
color: "#FFFF00"
179179
}
180180
},
181181
{
182-
"id": 2,
183-
"comment": "Some qc comment 2",
184-
"flagType": {
185-
"name": "Limited acceptance",
186-
"color": "#FFFF00"
182+
id: 2,
183+
comment: "Some qc comment 2",
184+
flagType: {
185+
name: "Limited acceptance",
186+
color: "#FFFF00"
187187
}
188188
},
189189
{
190-
"id": 3,
191-
"comment": "Some qc comment 3",
192-
"flagType": {
193-
"name": "Bad",
194-
"color": null
190+
id: 3,
191+
comment: "Some qc comment 3",
192+
flagType: {
193+
name: "Bad",
194+
color: null
195195
}
196196
}
197197
],
@@ -203,11 +203,11 @@ module.exports = () => {
203203
missingVerificationsCount: 1,
204204
flagComments: [
205205
{
206-
"id": 7,
207-
"comment": "Some qc comment 7",
208-
"flagType": {
209-
"name": "Good",
210-
"color": null
206+
id: 7,
207+
comment: "Some qc comment 7",
208+
flagType: {
209+
name: "Good",
210+
color: null
211211
}
212212
}
213213
],
@@ -221,19 +221,19 @@ module.exports = () => {
221221
missingVerificationsCount: 2,
222222
flagComments: [
223223
{
224-
"id": 202,
225-
"comment": "Some qc comment 1",
226-
"flagType": {
227-
"name": "Good",
228-
"color": null
224+
id: 202,
225+
comment: "Some qc comment 1",
226+
flagType: {
227+
name: "Good",
228+
color: null
229229
}
230230
},
231231
{
232-
"id": 201,
233-
"comment": "Some qc comment 1",
234-
"flagType": {
235-
"name": "Limited Acceptance MC Reproducible",
236-
"color": "#FFFF00"
232+
id: 201,
233+
comment: "Some qc comment 1",
234+
flagType: {
235+
name: "Limited Acceptance MC Reproducible",
236+
color: "#FFFF00"
237237
}
238238
}
239239
],
@@ -245,11 +245,11 @@ module.exports = () => {
245245
missingVerificationsCount: 1,
246246
flagComments: [
247247
{
248-
"id": 203,
249-
"comment": "Some qc comment 1",
250-
"flagType": {
251-
"name": "Good",
252-
"color": null
248+
id: 203,
249+
comment: "Some qc comment 1",
250+
flagType: {
251+
name: "Good",
252+
color: null
253253
}
254254
}
255255
],

0 commit comments

Comments
 (0)