Best of JestAugust 2022

  1. 1
    Article
    Avatar of hashnodeHashnode·4y

    Unit testing with Jest, React, and TypeScript

    Software testing is critical to lower the chances of our program failing by running tests with the end-user in mind. Testing-library/react is a testing utility tool that's built to test the actual DOM tree rendered by React on the browser. The goal of the library is to help you write tests that resemble how a user would use your application.

  2. 2
    Article
    Avatar of communityCommunity Picks·4y

    Getting Started with Vitest

    Vitest is Jest-compatible and comes with out-of-the-box ESM, Typescript, and JSX support. It uses the Vite dev server to transform your files during testing and listens to the same configuration of your app. It is extensible using the same plugin API as Vite and 'notification--slide' The component renders the correct style. The component emits an event when the close button.

  3. 3
    Article
    Avatar of hashnodeHashnode·4y

    Docusaurus 2.0 🥳️: Meta's static site generator to build beautiful documentation websites

    Docusaurus 2.0 is a documentation static-site-generator, based on Node.js and React. It allows you to focus on content: just write Markdown files. It is already powering many great docs sites you know: React-Native, Redux, Tauri, Electron, Courier, Figma.

  4. 4
    Article
    Avatar of hashnodeHashnode·4y

    TDD (Test Driven Development) Basics Tutorial with TypeScript/React

    The 4 steps are what I think are what are needed in learning TDD. In the previous test, I actually omitted some important setups. This example app uses "pseudo" API to call data. So it runs perfectly on testing environment.