tribal-relations / client

0 stars 0 forks source link

migrate to vitest #52

Closed gennadyterekhov closed 10 months ago

gennadyterekhov commented 11 months ago

https://vitest.dev/guide/migration.html#migrating-from-jest

gennadyterekhov commented 11 months ago

https://stackoverflow.com/questions/74064575/tsyringes-resolve-function-throws-typeinfo-not-known-for-x-error-when-using

gennadyterekhov commented 11 months ago

https://www.reddit.com/r/typescript/comments/w86hgq/feeling_fed_up_right_now_a_rant/
i've not yet suffered enough probably
but yes
awful

gennadyterekhov commented 10 months ago

https://jestjs.io/docs/getting-started#using-typescript
https://jestjs.io/docs/ecmascript-modules

gennadyterekhov commented 10 months ago

https://jestjs.io/docs/getting-started#using-vite

gennadyterekhov commented 10 months ago

https://stackoverflow.com/questions/68570519/why-cant-reflect-metadata-be-used-in-vite

gennadyterekhov commented 10 months ago

maybe it's better to just ditch tsyringe altogether
and just create instances manually

gennadyterekhov commented 10 months ago

or just return to older tools - webpack + jest

gennadyterekhov commented 10 months ago

https://github.com/tribal-relations/client/pull/58

gennadyterekhov commented 10 months ago

removed tsyringe and migrated to vitest