mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 11:20:57 -06:00
11 lines
276 B
JavaScript
11 lines
276 B
JavaScript
import { acceptance } from "helpers/qunit-helpers";
|
|
acceptance("Unknown");
|
|
|
|
QUnit.test("Unknown URL", assert => {
|
|
assert.expect(1);
|
|
visit("/url-that-doesn't-exist");
|
|
andThen(() => {
|
|
assert.ok(exists(".page-not-found"), "The not found content is present");
|
|
});
|
|
});
|