Commit 4d61bcc8 4d61bcc801f9a8760b6b29990f8356951069f89c by Vincent Peybernes

Add helpful id on test data for debugging.

1 parent 7b274617
Pipeline #9 for 4d61bcc8 passed in 3 minutes 32 seconds
...@@ -17,6 +17,7 @@ describe('RelativePlacement algo', () => { ...@@ -17,6 +17,7 @@ describe('RelativePlacement algo', () => {
17 * @param {Number} id 17 * @param {Number} id
18 */ 18 */
19 (testData,id) => { 19 (testData,id) => {
20 testData.id = id;
20 it('#'+id+': '+(testData.comment||''), ()=>{ 21 it('#'+id+': '+(testData.comment||''), ()=>{
21 var votes = compileVotes(testData); 22 var votes = compileVotes(testData);
22 23
...@@ -33,6 +34,7 @@ describe('RelativePlacement algo', () => { ...@@ -33,6 +34,7 @@ describe('RelativePlacement algo', () => {
33 /** 34 /**
34 * @name TestData 35 * @name TestData
35 * @typedef Object 36 * @typedef Object
37 * @property {Number} id
36 * @property {String} comment 38 * @property {String} comment
37 * @property {Array[]}votes 39 * @property {Array[]}votes
38 * @property {String[]} result 40 * @property {String[]} result
......