Tests and coverage for web

This commit is contained in:
Cadence Ember
2024-12-24 01:06:19 +13:00
parent 53379a962d
commit c599dff590
17 changed files with 593 additions and 171 deletions
+2
View File
@@ -42,6 +42,7 @@ function render(event, filename, locals) {
{session} // Session is always session because it has to be trusted
))
})
/* c8 ignore start */
} catch (e) {
pugCache.set(path, async (event) => {
setResponseStatus(event, 500, "Internal Template Error")
@@ -49,6 +50,7 @@ function render(event, filename, locals) {
return e.toString()
})
}
/* c8 ignore stop */
}
if (!pugCache.has(path)) {