discourse/test/javascripts/acceptance/unknown-test.js.es6

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
262 B
Plaintext
Raw Normal View History

import { acceptance } from "helpers/qunit-helpers";
acceptance("Unknown");
QUnit.test("Unknown URL", async assert => {
2017-06-14 13:57:58 -04:00
assert.expect(1);
await visit("/url-that-doesn't-exist");
assert.ok(exists(".page-not-found"), "The not found content is present");
});