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

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 12:57:58 -05:00
assert.expect(1);
await visit("/url-that-doesn't-exist");
assert.ok(exists(".page-not-found"), "The not found content is present");
});