fix: fixing failing goals, cache and token tests
Relates to:
https://github.com/ai16z/eliza/issues/519
Risks
low - fixing tests
Background
What does this PR do?
Fixing goals, cache and token tests
What kind of change is this?
Bug-fixes
Fixing tests to prevent flaky tests.
Documentation changes needed?
None
Testing
Where should a reviewer start?
navigate to packages/core
Detailed testing steps
run pnpm install, pnpm test
Hello @pgoos thanks for reaching out! Yes, I have run tests locally multiple times before creating the PR.
You should maybe try runing pnpm test, instead of npm test.
Honestly, I am confused with this error: No test files found, exiting with code 1
Are you sure that you are executing tests in packages/core directory?
This is my output:
The other error with @ai16z/plugin-solana persisted also on my local until I ran pnpm build. We can figure this out, there is problem with imports definitely.
@lalalune Fixed! Thank you for this input. Fixed package.json file and moved token.test to solana plugin. Added vitest to that package. Tests are running properly now.