add more tests

This commit is contained in:
Rich Harris
2018-07-15 22:50:53 -04:00
parent bf8e56748a
commit 6c5630f281
46 changed files with 275 additions and 8 deletions

View File

@@ -333,6 +333,9 @@ function get_page_handler(routes: RouteObject[], store_getter: (req: Req) => Sto
};
Object.assign(props, preloaded);
res.end('TODO');
return;
const { html, head, css } = App.render({ Page: route.handler, props }, {
store
});