We used many global functions to handle tests when they should be imported like other libraries in our application. This also gets us closer to the way Ember CLI prefers our tests to be laid out.
10 lines
289 B
JavaScript
10 lines
289 B
JavaScript
import { test } from "qunit";
|
|
import { acceptance } from "discourse/tests/helpers/qunit-helpers";
|
|
|
|
acceptance("User Directory - Mobile", { mobileView: true });
|
|
|
|
test("Visit Page", async (assert) => {
|
|
await visit("/u");
|
|
assert.ok(exists(".directory .user"), "has a list of users");
|
|
});
|