Corrected some test assertions

This commit is contained in:
Fredrik Wollsén 2019-02-18 10:57:35 +02:00
Родитель 0f56814544
Коммит 46446b5357
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -72,7 +72,7 @@ describe("basic shield utils integration", function() {
},
],
];
assert.deepStrictEqual(expected, observed, "telemetry pings match");
assert.deepStrictEqual(observed, expected, "telemetry pings match");
});
});
@ -121,7 +121,7 @@ describe("basic shield utils integration", function() {
},
],
];
assert.deepStrictEqual(expected, observed, "telemetry pings match");
assert.deepStrictEqual(observed, expected, "telemetry pings match");
});
});
});
@ -193,7 +193,7 @@ describe("setup of an already expired study should result in endStudy('expired')
},
],
];
assert.deepStrictEqual(expected, observed, "telemetry pings match");
assert.deepStrictEqual(observed, expected, "telemetry pings match");
});
});
});
@ -253,7 +253,7 @@ describe("setup of a study that expires within a few seconds should result in en
const observed = utils.telemetry.summarizePings(filteredPings);
const expected = [];
assert.deepStrictEqual(expected, observed, "telemetry pings match");
assert.deepStrictEqual(observed, expected, "telemetry pings match");
});
});
@ -294,7 +294,7 @@ describe("setup of a study that expires within a few seconds should result in en
},
],
];
assert.deepStrictEqual(expected, observed, "telemetry pings match");
assert.deepStrictEqual(observed, expected, "telemetry pings match");
});
});
});