Commit 3fc33b5
committed
test(apps): alias capacitor sources in app-contacts and app-wifi tests
The vitest configs for plugins/app-contacts and plugins/app-wifi now
resolve @elizaos/capacitor-{contacts,wifi} to the package src/index.ts,
mirroring plugins/app-phone. Without this alias, vitest tries to load
the package's dist/ entry and fails in CI (`bun run test:plugins` only
builds the four core packages, not the native-plugin capacitor packages),
breaking the Plugin Tests job:
Failed to resolve entry for package "@elizaos/capacitor-contacts".
The package may have incorrect main/module/exports specified in its
package.json.
Verified locally by removing both packages' dist directories before
running each plugin's vitest suite.1 parent 4b45fd0 commit 3fc33b5
2 files changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
4 | 16 | | |
5 | 17 | | |
6 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
4 | 16 | | |
5 | 17 | | |
6 | 18 | | |
| |||
0 commit comments