diff --git a/test/common/test.js b/test/common/test.js index 9c12e79..f72d579 100644 --- a/test/common/test.js +++ b/test/common/test.js @@ -171,6 +171,12 @@ function run(env) { }); }); + it('serves /?', () => { + return nightmare.goto(`${base}?`).page.title().then(title => { + assert.equal(title, 'Great success!'); + }); + }); + it('serves static route', () => { return nightmare.goto(`${base}/about`).page.title().then(title => { assert.equal(title, 'About this site');