mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 18:25:37 +08:00
9 lines
262 B
JavaScript
9 lines
262 B
JavaScript
import { acceptance } from "helpers/qunit-helpers";
|
|
acceptance("Unknown");
|
|
|
|
QUnit.test("Unknown URL", async assert => {
|
|
assert.expect(1);
|
|
await visit("/url-that-doesn't-exist");
|
|
assert.ok(exists(".page-not-found"), "The not found content is present");
|
|
});
|