Merge pull request #673 from mrkishi/testing-issue

Harden tests (...a bit)
This commit is contained in:
Rich Harris
2019-05-09 08:57:18 -04:00
committed by GitHub
35 changed files with 726 additions and 685 deletions

View File

@@ -1,7 +1,7 @@
import polka from 'polka';
import * as sapper from '@sapper/server';
const { PORT } = process.env;
import { start } from '../../common.js';
const app = polka().use(sapper.middleware({
ignore: [
@@ -16,4 +16,4 @@ const app = polka().use(sapper.middleware({
app.get('/'+uri, (req, res) => res.end(uri));
});
app.listen(PORT);
start(app);