mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:16:41 +08:00
DEV: Fix lint.
This commit is contained in:
parent
861023f0d6
commit
6efc5dd202
|
@ -76,7 +76,11 @@ QUnit.test("does not track attachments", async assert => {
|
|||
server.post("/clicks/track", () => assert.ok(false));
|
||||
|
||||
assert.notOk(track(generateClickEventOn(".attachment")));
|
||||
assert.ok(DiscourseURL.redirectTo.calledWith("http://discuss.domain.com/uploads/default/1234/1532357280.txt"));
|
||||
assert.ok(
|
||||
DiscourseURL.redirectTo.calledWith(
|
||||
"http://discuss.domain.com/uploads/default/1234/1532357280.txt"
|
||||
)
|
||||
);
|
||||
});
|
||||
|
||||
QUnit.test("tracks external URLs", async assert => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user