ai16z / eliza

Conversational Agent for Twitter and Discord
https://ai16z.github.io/eliza/
MIT License
994 stars 278 forks source link

Core Unit Tests #340

Open ponderingdemocritus opened 4 hours ago

ponderingdemocritus commented 4 hours ago

This task is to implement unit tests for all the core functions.

Use Vitest as the test suite.

normand1 commented 3 hours ago

@ponderingdemocritus Are the existing tests passing now or is this task for new tests? I've tried running tests on main and not able to get them all to pass. Also, do you know if there are tests running in CI now? I haven't found anywhere we're doing this yet.

odilitime commented 3 hours ago

Last I checked the tests are not passing

normand1 commented 2 hours ago

Also,

Use Vitest as the test suite.

I don't see Vitest as a current Core dependency. Looks like all tests are written in Jest. Is there another task to implement Vitest?

ponderingdemocritus commented 2 hours ago

there are no real Unit tests in the repo. The current e2e tests are broken and need overhauling.

First step however is to implement unit tests.

If you want to tackle this: