Tag

testing

  1. Using Playwright visual regression testing to safely replace a CSS library

    How I used Playwright visual regression testing to safely migrate the CSS library on my blog.

    • Frontend
    • Testing
  2. Changing checkbox design with accessibility in mind

    How to implement a custom Checkbox with accessibility considerations.

    • Frontend
    • Testing
  3. Creating utility functions to wrap msw

    Implementing useful utility functions by wrapping msw.

    • Frontend
    • Testing
  4. msw not intercepting network requests in Node.js 18

    How to fix the problem where msw does not intercept network requests in Node.js 18

    • Frontend
    • Testing
  5. Replacing ts-jest with @swc/jest to cut CI test time in half

    How replacing ts-jest with @swc/jest cut the CI test execution time by half in a real project.

    • Jest
    • Testing
  6. Introduction to frontend TDD starting from bug fixes

    This article is for Day 22 of the YAMAP Engineer Advent Calendar 2021. I am currently reading "Test-Driven Development" (TDD) in a book club. Starting TDD from bug fixes worked well for me, so I want to share the experience.

    • Frontend
    • Testing
  7. Writing unit tests by thinking about component inputs and outputs

    When writing frontend component unit tests for the first time, it can be hard to know "what to test." This article explains how thinking about component inputs and outputs helps you understand what to test.

    • React
    • Frontend
    • Testing
  8. I wish someone had taught me how to type-safe mock in TypeScript + Jest

    This article is for Day 5 of "Time Leap TypeScript — Things I Wish I Knew When I Started TypeScript." When I first started writing TypeScript, one thing I struggled with was how to write types for mocks when writing tests with Jest.

    • Jest
    • TypeScript
    • Testing