Tom Moor
091346dfe8
chore: Migrate to vitest ( #12272 )
...
* wip
* Remove obsolete snapshots
* simplify
* chore(test): Convert mocks to TypeScript and tighten fetch mock types
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
* Remove unneccessary patches
* Migrate to msw instead of custom fetch mock
* Address PR review comments
- Split chained vi.useFakeTimers().setSystemTime() into separate calls.
- Switch test setup to dynamic imports so EventEmitter.defaultMaxListeners
assignment runs before module init (static imports were hoisted above it).
- Drop redundant NODE_ENV guard in monkeyPatchSequelizeErrorsForJest; its
sole caller already gates on env.isTest.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-06 21:10:51 -04:00
Tom Moor
797c28a12e
fix: Edits that only include a mention below edit distance do not trigger mention ( #11434 )
2026-02-13 18:02:47 -05:00
Tom Moor
38880f8335
fix: Missing check for disabled group mentions ( #11435 )
2026-02-13 08:06:24 -05:00
Tom Moor
bf45e97641
chore: Enforce type import consistency ( #10968 )
...
* Update types
* fix circular dep
* type imports
* lint type imports and --fix
2025-12-19 23:07:02 -05:00
Hemachandar
c7231ffd8b
chore: Move Revision event writing to model layer ( #9650 )
2025-07-16 17:28:29 -04:00
Tom Moor
237253afdb
fix: Flaky test ordered event expectations ( #8607 )
2025-03-02 13:21:25 +00:00
Tom Moor
97e91eb06b
test: Fix race condition
2025-02-23 22:29:40 -05:00
Tom Moor
474baf7b42
fix: Suppress notifications for changes that are not visible
2024-07-22 20:09:03 -04:00
Apoorv Mishra
7e61a519f1
Type server models ( #6326 )
...
* fix: type server models
* fix: make ParanoidModel generic
* fix: ApiKey
* fix: Attachment
* fix: AuthenticationProvider
* fix: Backlink
* fix: Collection
* fix: Comment
* fix: Document
* fix: FileOperation
* fix: Group
* fix: GroupPermission
* fix: GroupUser
* fix: Integration
* fix: IntegrationAuthentication
* fix: Notification
* fix: Pin
* fix: Revision
* fix: SearchQuery
* fix: Share
* fix: Star
* fix: Subscription
* fix: TypeError
* fix: Imports
* fix: Team
* fix: TeamDomain
* fix: User
* fix: UserAuthentication
* fix: UserPermission
* fix: View
* fix: WebhookDelivery
* fix: WebhookSubscription
* Remove type duplication
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-01-12 22:33:05 +05:30
Tom Moor
ec0564eb32
chore: Test performance ( #5786 )
2023-09-06 14:19:21 -07:00
Tom Moor
3eb947e9a5
chore: Improve perf of server tests ( #5785 )
2023-09-06 04:14:49 -07:00
Tom Moor
89d5527d39
Handle promise linting ( #5488 )
2023-06-28 17:18:18 -07:00
Apoorv Mishra
86062f396d
Deleting a collection should detach associated drafts from it ( #5082 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-04-23 12:20:44 -07:00
Tom Moor
9c9ceef8ee
Notifications refactor ( #5151
...
* Ongoing
* refactor
* test
* Add cleanup task
* refactor
2023-04-08 06:22:49 -07:00