mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
Upgrade QUnit to latest version
This commit is contained in:
@ -2,10 +2,10 @@ import { acceptance } from "helpers/qunit-helpers";
|
||||
|
||||
acceptance("Admin - Users List", { loggedIn: true });
|
||||
|
||||
test("lists users", () => {
|
||||
QUnit.test("lists users", assert => {
|
||||
visit("/admin/users/list/active");
|
||||
andThen(() => {
|
||||
ok(exists('.users-list .user'));
|
||||
ok(!exists('.user:eq(0) .email small'), 'escapes email');
|
||||
assert.ok(exists('.users-list .user'));
|
||||
assert.ok(!exists('.user:eq(0) .email small'), 'escapes email');
|
||||
});
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user