Bump prettier to 1.19.1 and lock dependency (#8350)
This commit is contained in:
committed by
Penar Musaraj
parent
16cdf94001
commit
abf215a0e4
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user