Bump prettier to 1.19.1 and lock dependency (#8350)

This commit is contained in:
Martin Brennan
2019-11-16 01:07:45 +10:00
committed by Penar Musaraj
parent 16cdf94001
commit abf215a0e4
8 changed files with 42 additions and 14 deletions
@@ -141,7 +141,11 @@ QUnit.test("closestPostNumberFor", assert => {
QUnit.test("closestDaysAgoFor", assert => {
const postStream = buildStream(1231);
postStream.set("timelineLookup", [[1, 10], [3, 8], [5, 1]]);
postStream.set("timelineLookup", [
[1, 10],
[3, 8],
[5, 1]
]);
assert.equal(postStream.closestDaysAgoFor(1), 10);
assert.equal(postStream.closestDaysAgoFor(2), 10);