You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
I believe it might be better to migrate back to mocha (or a differrent test runner that doesn't have these problems).
Iirc the reasons to switch to Jest was mostly that there was more things that "just work" out of the box and docs on how to test React components with snapshot tests. However, it seems many of these things actually don't work correctly, and then you are faced with less flexibility to fix them. With mocha, these would take some effort to setup because they don't work out of the box, but would all be possible because mocha only concerns itself with running tests and everything else can be setup on top of it.
The text was updated successfully, but these errors were encountered:
Every week I see problems caused by Jest. A non-exhaustive list:
module
in package.json, which monaco uses https://github.com/sourcegraph/sourcegraph/pull/7669/files#diff-66d3521f5e9f81934077fdd6653d0901R29I believe it might be better to migrate back to mocha (or a differrent test runner that doesn't have these problems).
Iirc the reasons to switch to Jest was mostly that there was more things that "just work" out of the box and docs on how to test React components with snapshot tests. However, it seems many of these things actually don't work correctly, and then you are faced with less flexibility to fix them. With mocha, these would take some effort to setup because they don't work out of the box, but would all be possible because mocha only concerns itself with running tests and everything else can be setup on top of it.
The text was updated successfully, but these errors were encountered: