get tests passing again

This commit is contained in:
Rich Harris
2018-08-25 14:01:07 -04:00
parent 9cbb8bdc33
commit 200c5fcbd2
5 changed files with 5 additions and 7 deletions

View File

@@ -56,8 +56,6 @@ function generate_client(
const server_routes_to_ignore = routes.server_routes.filter(route =>
!page_ids.has(route.pattern.toString()));
const len = Math.max(...routes.components.map(c => c.name.length));
let code = `
// This file is generated by Sapper — do not edit it!
import root from '${get_file(path_to_routes, routes.root)}';