• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

I Like Kill Nerds

The blog of Australian Front End / Aurelia Javascript Developer & brewing aficionado Dwayne Charrington // Aurelia.io Core Team member.

  • Home
  • Aurelia 2
  • Aurelia 1
  • About

Jest

How To Mock uuid In Jest

Jest · April 25, 2020

When it comes to mocking dependencies in Jest, it couldn't be easier. You can create an actual mock module that gets loaded in place of the …

Continue Reading

Testing Event Listeners In Jest (Without Using A Library)

Jest · February 19, 2020

I love using Jest to unit test my Aurelia applications. Sadly, one of the most popular options for mocking event listeners and simulating …

Continue Reading

Quick & Easy Way To Reset Mocks & Spies In Jest

Jest · December 21, 2019

When working with mocks and spies in Jest, it is quite easy to fall into a trap where they become stale (especially in cases where pure …

Continue Reading

How To Easily Mock Moment.js In Jest

Jest · December 4, 2019

Recently whilst writing some unit tests in Jest, I had to test some code that took ISO date strings and converted them to formatted date …

Continue Reading

Jest Not Finding Tests In Travis CI? You Might Be Ignoring The Build Folder

Jest · October 20, 2019

Recently, I encountered an issue in Travis CI and my Aurelia application which uses Jest for the tests suite. I erroneously copied some …

Continue Reading

Primary Sidebar

Popular

  • Testing Event Listeners In Jest (Without Using A Library)
  • Coinspot Is Terrible: Here's a Better Alternative for Australian Cryptocurrency Trading
  • Microsoft Flight Simulator 2020 Settings for The HP Reverb G2 Headset and RTX 3070 Graphics Card
  • Can The Nvidia RTX 3080 Run Microsoft Flight Simulator 2020 at 4k 60 fps?
  • Removing A Character From The Start/End of a String In Javascript
  • Removing Duplicate Objects From An Array By Property Name In Javascript
  • How to Fast Launch Microsoft Flight Simulator 2020 (decrease game loading time)
  • Using The Elgato Stream Deck XL With Microsoft Flight Simulator 2020
  • Is Blazor The Future of Development?
  • Regular Expression For Validating Australian Phone Numbers (Including landline and mobile)

Recent Comments

  • Bubba Rodgers on Yarn Slow In Windows? Disable Windows Defender
  • Jacob Zwickler on How To Mock uuid In Jest
  • Elvis on Testing Event Listeners In Jest (Without Using A Library)
  • soumitra patra on Fixing WordPress 404 Custom Post Type Archive Pagination Issues with Posts Per Page
  • chuck on Replacing A BMW Battery

Copyright © 2021 · Dwayne Charrington · Log in