minor tidy up

This commit is contained in:
Rich Harris
2018-09-03 07:54:39 -04:00
parent 8b60d568dc
commit 0cc5ff95d6

View File

@@ -746,7 +746,7 @@ function run({ mode, basepath = '' }) {
it('allows reserved words as route names', () => {
return nightmare.goto(`${base}/const`).init()
.then(() => nightmare.page.title())
.page.title()
.then(title => {
assert.equal(title, 'reserved words are okay as routes');
});