© 2023 Hashnode
#jest
Testing merupakan bagian yang cukup penting dalam pengembangan aplikasi, semakin cepat kamu memulai test, semakin baik. Kali ini aku akan membahas bagaimana cara menulis script tests pada Node.js/Express.js dengan menggunakan Jest dan Super…
Overview Are you ready to take your GraphQL development skills to the next level? In this series of four articles, I'll guide you through the process of building a powerful GraphQL API using Nest and …
Puppeteer is a Node library that provides a high-level API to control Chrome or Chromium over the DevTools Protocol. It can be used to automate tasks in the browser, such as generating screenshots and PDFs or tracking user interactions. It …
Hey there! I have been exposed to snapshot tests recently and I am still trying to find out why they are so frequently used to test React applications. To me, they seem brittle, hard to maintain, vagu…
Introduction Jest is a JavaScript test runner that provides resources for writing and running tests. React Testing Library offers a set of testing helpers that structure your tests based on user interactions rather than components’ implemen…
If you are a person who just finished Learning React Framework and got fairly good at it. You start giving Interviews, You almost got the skills for developing Single Page applications. You are having…
The introduction of React Hooks has caused a significant shift in the way React components are written. This shift has resulted in increased reusability, composability, and improved testability. Nonet…
React Native provides developers with a flexible platform for building mobile apps that can run on both iOS and Android. When it comes to testing these apps, Jest has become a go-to choice for many de…
Custom repositories extend the base repository class and enrich it with several additional methods. This post covers unit and integration testing. // user.repository.ts @Injectable() export class UserRepository extends Repository<UserEntity…
This is my first post, I would gladly get feedback and other opinions about it. Jest is a great testing library that can bring stability to your codebase. On top of having fewer bugs in your codebase, I figured out the tests also give a hum…