Steven Atkinson Tech Blog
  • Home
  • About Me
  • Contact Me
  • The Site
Sign in Subscribe

Fake Data

A collection of 2 posts
Lock-step Refactoring in Node.js (Part 3)
Javascript

Lock-step Refactoring in Node.js (Part 3)

The story thus far… In part two we refactored the Faker object into a class. This allowed us to inject it into our Ancient faker module. So now how to we use this to our advantage? Stubbing using Sinon Standalone test spies, stubs and mocks for JavaScript. Works with any
25 May 2018 2 min read
Lock-step Refactoring in Node.js (Part 2)
Javascript

Lock-step Refactoring in Node.js (Part 2)

The story thus far… So in part one we refactored the Ancient faker module into a class. We updated the tests and everything was still working as expected 😎. So what do we do next? Why did we even start refactoring again? As I mentioned in part one, occasionally some of
24 May 2018 2 min read
Page 1 of 1
Steven Atkinson Tech Blog © 2025
  • Sign up
Powered by Ghost