mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 13:41:16 +08:00
Revert "Rename all test files from JS -> ES6"
This reverts commit 2abe85b8344de1102c1589a9ac9421a8b296f2b5.
This commit is contained in:
@ -1,15 +0,0 @@
|
||||
import pretender from "helpers/create-pretender";
|
||||
import { acceptance } from "helpers/qunit-helpers";
|
||||
|
||||
acceptance("Click Track", {});
|
||||
|
||||
QUnit.test("Do not track mentions", async assert => {
|
||||
pretender.post("/clicks/track", () => assert.ok(false));
|
||||
|
||||
await visit("/t/internationalization-localization/280");
|
||||
assert.ok(invisible(".user-card"), "card should not appear");
|
||||
|
||||
await click("article[data-post-id=3651] a.mention");
|
||||
assert.ok(visible(".user-card"), "card should appear");
|
||||
assert.equal(currentURL(), "/t/internationalization-localization/280");
|
||||
});
|
Reference in New Issue
Block a user