more test fixes

This commit is contained in:
Dax Raad
2026-05-14 22:45:09 -04:00
parent 34b1be5bcd
commit b0ea7a5aa7

View File

@@ -311,7 +311,8 @@ function process<Def extends Definition>(
const projector = projectors.get(def)
if (!projector) {
throw new Error(`Projector not found for event: ${def.type}`)
if (!def.type.includes("next")) throw new Error(`Projector not found for event: ${def.type}`)
return
}
Database.transaction((tx) => {