Become a member
Sign in
Jani
Jani

Jani

53 Following
8 Followers
  • Profile
  • Claps
  • Highlights

Highlighted by Jani

See more

From Mocking is a Code Smell by Eric Elliott

…it. You have to create a new copy of the object with the required changes. You can do that with the array accessor methods (not the mutator methods), Object.assign(), using a new empty object as the target, or the array or…

From Mocking is a Code Smell by Eric Elliott

It’s perfectly OK to mock and fake for integration tests.

From Mocking is a Code Smell by Eric Elliott

In general, units are tested using only the public interface of the unit (aka “public API” or “surface area”). This is referred to as black box testing. Black box testing leads to less brittle tests, because th…

Claps from Jani

See more

Tokens in Design Systems

Nathan Curtis

The JavaScript Developer’s Intro to Crypto

Eric Elliott

Bankers: If You’re Not Riding the Next Wave, You’ll be Crushed by It

Eric Elliott