Skip to content

Commit

Permalink
tweak: Update assets/tests/factories/notification.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Kayla Firestack <firestack@users.noreply.github.com>
  • Loading branch information
hannahpurcell and firestack authored Oct 1, 2024
1 parent 0ee485e commit 3831c53
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions assets/tests/factories/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,8 @@ export const detourActivatedNotificationFactory = Factory.define<
content: detourActivatedNotificationContentFactory.build(),
}))

const detourDeactivatedNotificationContentFactory = {
...detourActivatedNotificationContentFactory.build(),
status: "deactivated",
}
const detourDeactivatedNotificationContentFactory =
detourActivatedNotificationContentFactory.params({ status: "deactivated" })

export const detourDeactivatedNotificationFactory = Factory.define<
Notification<DetourNotification>
Expand Down

0 comments on commit 3831c53

Please sign in to comment.