From 3449f1eb37d44334578fbaab75cb01f73e4a9ecd Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sat, 3 Feb 2018 12:04:14 -0500 Subject: [PATCH] add test for #105 --- test/common/test.js | 6 ++++++ 1 file changed, 6 insertions(+) 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');