Skip to content

Commit 9d5d154

Browse files
committed
fix tests
1 parent 46618a2 commit 9d5d154

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

test/public/runs/runsPerDataPass.overview.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,10 @@ module.exports = () => {
328328
const exportContent = fs.readFileSync(path.resolve(downloadPath, targetFileName)).toString();
329329

330330
expect(exportContent.trim()).to.be.eql([
331-
'runNumber,VTX,CPV',
332-
'108,"",""',
333-
'107,"","Good (from: 1565290800000 to: 1565359260000) | Limited Acceptance MC Reproducible (from: 1565269140000 to: 1565290800000)"',
334-
'106,"Good (from: 1565269200000 to: 1565304200000) | Good (from: 1565324200000 to: 1565359200000)","Limited Acceptance MC Reproducible (from: 1565304200000 to: 1565324200000) | Limited acceptance (from: 1565329200000 to: 1565334200000) | Bad (from: 1565339200000 to: 1565344200000)"'
331+
'runNumber;VTX;CPV',
332+
'108;"";""',
333+
'107;"";"Good (from: 1565290800000 to: 1565359260000) | Limited Acceptance MC Reproducible (from: 1565269140000 to: 1565290800000)"',
334+
'106;"Good (from: 1565269200000 to: 1565304200000) | Good (from: 1565324200000 to: 1565359200000)";"Limited Acceptance MC Reproducible (from: 1565304200000 to: 1565324200000) | Limited acceptance (from: 1565329200000 to: 1565334200000) | Bad (from: 1565339200000 to: 1565344200000)"',
335335
].join('\r\n'));
336336
fs.unlinkSync(path.resolve(downloadPath, targetFileName));
337337
});

test/public/runs/runsPerLhcPeriod.overview.test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,11 @@ module.exports = () => {
280280
const exportContent = fs.readFileSync(path.resolve(downloadPath, targetFileName)).toString();
281281

282282
expect(exportContent.trim()).to.be.eql([
283-
'runNumber,ITS',
284-
'105,""',
285-
'56,"Good (from: 1565294400000 to: 1565298000000)"',
286-
'54,""',
287-
'49,""',
283+
'runNumber;ITS',
284+
'105;""',
285+
'56;"Good (from: 1565294400000 to: 1565298000000)"',
286+
'54;""',
287+
'49;""',
288288
].join('\r\n'));
289289
fs.unlinkSync(path.resolve(downloadPath, targetFileName));
290290
});

test/public/runs/runsPerSimulationPass.overview.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,10 +276,10 @@ module.exports = () => {
276276
const exportContent = fs.readFileSync(path.resolve(downloadPath, targetFileName)).toString();
277277

278278
expect(exportContent.trim()).to.be.eql([
279-
'runNumber,CPV',
280-
'107,""',
281-
'106,"Bad (from: 1565272000000 to: 1565337000000) | Bad (from: 1565340600000 to: 1565359200000)"',
282-
'105,""',
279+
'runNumber;CPV',
280+
'107;""',
281+
'106;"Bad (from: 1565272000000 to: 1565337000000) | Bad (from: 1565340600000 to: 1565359200000)"',
282+
'105;""',
283283
].join('\r\n'));
284284
fs.unlinkSync(path.resolve(downloadPath, targetFileName));
285285
});

0 commit comments

Comments
 (0)