mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 19:25:10 +00:00
use sapper.server() in tests
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user