nuejs / nue

The Design Engineering Framework for the Web
https://nuejs.org
MIT License
6.15k stars 182 forks source link

I think you don't need jest 🥸 #406

Open Valexr opened 3 days ago

Valexr commented 3 days ago

Jest very complicated & heavy... Try light & simple UVU test runner.

I think it's enough for Nue philosophy 🤓 & I can help make simple changes for all tests...

nobkd commented 2 days ago

We have jest only as secondary test runner. We primarily use Bun as test runner, and just use jest to test Node compatibility. Using jest allows using the same test syntax, and it has feature parity.

I can check out uvu, if it has the available features, and some compatibility layer for syntax, but I don't know if it fits our use case. :) (of course would be good if we could have a smaller data and resource footprint on that)

I think I'll try taking a closer look sometime next week.

Valexr commented 2 days ago

Oh didn't consider that bun has a test runner...🤓ok, tx for feedback