@happyvertical/smrt-vitest 0.42.1 → 0.42.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +5 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/test-db.js +5 -5
- package/dist/test-db.js.map +1 -1
- package/package.json +3 -3
package/AGENTS.md
CHANGED
|
@@ -63,6 +63,11 @@ same `retry` policy inline in their own `vitest.config.ts`.
|
|
|
63
63
|
|
|
64
64
|
## Test Database Utilities
|
|
65
65
|
|
|
66
|
+
PostgreSQL isolated factories provision all canonical framework-owned system
|
|
67
|
+
tables on the base connection before opening the per-test transaction. A
|
|
68
|
+
missing-table probe aborts the transaction even when optional-table logic
|
|
69
|
+
catches the original error.
|
|
70
|
+
|
|
66
71
|
| Function | Use Case |
|
|
67
72
|
|----------|----------|
|
|
68
73
|
| `createIsolatedTestDbFromManifest()` | Multi-table tests — auto-creates schema from manifest with FK ordering and STI dedup |
|