mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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));
|
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 => {
|
||||||
|
Loading…
Reference in New Issue
Block a user