Merge branch 'master' into gh-140

This commit is contained in:
Rich Harris
2018-05-03 21:54:52 -04:00
21 changed files with 181 additions and 58 deletions

View File

@@ -562,6 +562,12 @@ function run({ mode, basepath = '' }) {
assert.equal(title, 'woohoo!');
});
});
it('includes service worker', () => {
return nightmare.goto(base).page.html().then(html => {
assert.ok(html.indexOf('service-worker.js') !== -1);
});
});
});
describe('headers', () => {