mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
DEV: Fix lint.
This commit is contained in:
@ -76,7 +76,11 @@ QUnit.test("does not track attachments", async assert => {
|
|||||||
server.post("/clicks/track", () => assert.ok(false));
|
server.post("/clicks/track", () => assert.ok(false));
|
||||||
|
|
||||||
assert.notOk(track(generateClickEventOn(".attachment")));
|
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 => {
|
QUnit.test("tracks external URLs", async assert => {
|
||||||
|
Reference in New Issue
Block a user