mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-14 20:14:39 +00:00
Harden tests (...a bit)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user