use sapper.server() in tests

This commit is contained in:
Rich Harris
2019-05-10 08:52:01 -04:00
parent 05aef8de71
commit d13d6209ed
11 changed files with 24 additions and 65 deletions

View File

@@ -1,9 +1,6 @@
import polka from 'polka';
import * as sapper from '@sapper/server';
import { start } from '../../common.js';
const app = polka()
.use(sapper.middleware());
const server = sapper.server();
start(app);
start(server);