test(agent-skills): stub resolveStateDir in core mock - #13289
Conversation
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What
Follow-up to #13270: the newly merged
skill-discovery-helpers.test.tsimports code paths that reachpackages/skills, which now expects@elizaos/core.resolveStateDir. Theplugin-agent-skillsVitest setup hand-mocks@elizaos/core, so the focused test failed during import with:This adds a deterministic
resolveStateDirstub to the package test mock.Validation
Evidence N/A: test-harness-only fix; no runtime/UI behavior.