My first experience with Bun
· 2 min read
While testing an async method with ts-jest I came across a problem. The method throws an error on invalid input.
We are currently migration an internal tool from Javascript to Typescript. In that process, we also began adding unit tests with Jest (well, ts-jest to be precise).