diff --git a/test/common/test.js b/test/common/test.js index abf3b27..d192fea 100644 --- a/test/common/test.js +++ b/test/common/test.js @@ -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'); });