mirror of
https://github.com/discourse/discourse.git
synced 2025-06-19 21:51:35 +08:00
Upgrade QUnit to latest version
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
import { acceptance } from "helpers/qunit-helpers";
|
||||
acceptance("Unknown");
|
||||
|
||||
test("Unknown URL", () => {
|
||||
expect(1);
|
||||
QUnit.test("Unknown URL", assert => {
|
||||
assert.expect(1);
|
||||
visit("/url-that-doesn't-exist");
|
||||
andThen(() => {
|
||||
ok(exists(".page-not-found"), "The not found content is present");
|
||||
assert.ok(exists(".page-not-found"), "The not found content is present");
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user