Commit b9d674b
test(mikroorm-driver): add comprehensive test suite (#1)
* test(mikroorm-driver): add comprehensive test suite for MikroORM driver
- Set up Vitest with SWC for decorator metadata support
- Add test utilities for spinning up isolated NestJS apps with fresh PostgreSQL databases
- Add unit tests for MikroOrmInboxOutboxTransportEvent entity
- Add unit tests for MikroORMDatabaseDriver (persist, remove, flush, findAndExtendReadyToRetryEvents)
- Add unit tests for MikroORMDatabaseDriverFactory (forked entity managers, isolation)
- Add integration tests for TransactionalEventEmitter with real database
- Fix integer overflow for timestamps by using bigint column type
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* ci: add GitHub workflow for MikroORM driver tests
- Add test-mikroorm-driver.yml workflow with PostgreSQL service
- Revert @mikro-orm versions to ^6.3.9 as requested
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix(ci): build core package before running MikroORM driver tests
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent ce60226 commit b9d674b
File tree
11 files changed
+6719
-1612
lines changed- .github/workflows
- packages/mikroorm-driver
- src
- model
- test
11 files changed
+6719
-1612
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
0 commit comments