Latest Tutorials

Learn about the latest technologies from fellow newline community members!

  • React
  • Angular
  • Vue
  • Svelte
  • NextJS
  • Redux
  • Apollo
  • Storybook
  • D3
  • Testing Library
  • JavaScript
  • TypeScript
  • Node.js
  • Deno
  • Rust
  • Python
  • GraphQL
  • React
  • Angular
  • Vue
  • Svelte
  • NextJS
  • Redux
  • Apollo
  • Storybook
  • D3
  • Testing Library
  • JavaScript
  • TypeScript
  • Node.js
  • Deno
  • Rust
  • Python
  • GraphQL

    Understanding Mocks in Unit Testing

    Unit testing is an integral part of software development, especially for software engineers with a few years of experience under their belts. Often, the challenge lies not just in writing tests but in choosing the right tools to make these tests effective and efficient. That's where the concept of…

      Advanced Jest Testing: Mocking, Spies, and More

      Unit testing forms the backbone of reliable software development, ensuring each part of your application functions as expected. However, the real challenge often lies in effectively using Mocks, Spies, and Stubs - tools that can seem bewildering but are critical for sophisticated testing…

      I got a job offer, thanks in a big part to your teaching. They sent a test as part of the interview process, and this was a huge help to implement my own Node server.

      This has been a really good investment!

      Advance your career with newline Pro.

      Only $40 per month for unlimited access to over 60+ books, guides and courses!

      Learn More

        How To Mock HTTP Requests with Jest: A Step-By-Step Guide

        When testing web applications, there’s always a part where you have to test your Controllers. Be it a request to your own server or an 3rd party API, one thing’s for certain: You’ll have to test a function that contains an HTTP request. And after reading this blog post, you’ll know exactly how to…

          Common Mocking & Testing Mistakes That Ruin Your Test Cases

          Testing is all the rage right now. With Test-Driven Development being so popular, unit tests have become the new hot thing. That being said, automated testing isn't just a trend, it's a fundamental practice in software engineering for ensuring quality. Techniques like Test-Driven Development (TDD)…