feat(notifications): emit at maintenance/turn/sync/reauth events
This commit is contained in:
@@ -16,6 +16,13 @@ const seedConnection = async (
|
||||
email: 'a@b.c',
|
||||
name: 'A',
|
||||
});
|
||||
// Disable email so a reauth emit does not schedule the best-effort node
|
||||
// email action, whose async logging would race test teardown.
|
||||
await ctx.db.insert('notificationPreferences', {
|
||||
userId,
|
||||
emailEnabled: false,
|
||||
updatedAt: now,
|
||||
});
|
||||
return await ctx.db.insert('gitConnections', {
|
||||
userId,
|
||||
provider: 'github',
|
||||
|
||||
Reference in New Issue
Block a user