Handling PostgreSQL Migrations in Node.js
· 4 min read
Never thought you'd need to handle database migrations in Node.js? Me neither. Anyway, here’s one way to do it. Oh, and I think Node.js blog posts need emojis, right? 💯💡
Never thought you'd need to handle database migrations in Node.js? Me neither. Anyway, here’s one way to do it. Oh, and I think Node.js blog posts need emojis, right? 💯💡
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).