Commit 6b1af48
Fix metadata package test failures
- Fix vitest config to add missing @objectstack/spec/api alias
The spec package exports subpaths like /api, /data, etc. but vitest wasn't resolving them correctly,
causing ENOTDIR errors when trying to load index.ts/api
- Fix vitest config to add @objectstack/driver-memory alias
Tests need access to driver-memory package source files
- Fix MemoryDriver import in metadata-history.test.ts
The class was renamed from MemoryDriver to InMemoryDriver but the test wasn't updated
These changes fix the CI test failures in @objectstack/metadata#test.
Note: Some test assertions are still failing because the metadata history feature
is not fully implemented, but those are pre-existing issues unrelated to this PR.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent a2f684b commit 6b1af48
2 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
0 commit comments