mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 20:33:41 +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");
|
|
});
|