mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
Fix Prettier using correct version (1.19.1)
This commit is contained in:
@ -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