finiteloop
  • Home
  • Online CV
  • LinkedIn

JavaScript

A collection of 9 posts

JavaScript

Snapshot testing and why it makes sense

The JavaScript world is ever changing: every day new libraries come out and, as developers, we're lucky enough to get to try all these new ideas in our every day job. Using the

Riccardo Coppola Riccardo Coppola
JavaScript

Dockerize your integration tests to run everywhere

With integration tests being an integral part of a webapp workflow, we should always try to find ways to make them run smoother and make our lives easier. My complaint I've been working

Riccardo Coppola Riccardo Coppola
React

Use proxyquire to mock your React components

Testing React components has become trivial as more and more of them are now stateless functions. The new shallow renderer and tools like Enzyme make it possible to render a component "one

Riccardo Coppola Riccardo Coppola
JavaScript

git: rename a branch [locally and remotely]

It happens to me quite a lot: I create a branch and then want to rename it to a more specific/correct name. If that branch has already been pushed to a remote,

Riccardo Coppola Riccardo Coppola
Node.js

Save the exact version of a module with npm

npm is definitely a very useful tool, but its default behaviour is more tailored for module development than for applications. What I'd like it to do every time I install a dependency is:

Riccardo Coppola Riccardo Coppola
Bower

Custom build Zepto with Grunt and Bower

Workflow: I think it's the most important thing for a frontend developer. I like tweaking, improving and fixing my workflow: it makes me feel safe. It makes my life easier, my job quickly

Riccardo Coppola Riccardo Coppola
Bower

Bower and Grunt - A practical workflow

Bower & Grunt - A practical workflow on my slideshare Bower is a great tool: it searches, downloads and tracks all our front end dependencies. But it is not enough: we get all

Riccardo Coppola Riccardo Coppola
JavaScript

Jasmine: mock an endpoint using $.ajax and Promises for Backbone

The aim of this post is to write a mock version of the $.ajax that will let your code use promises and Backbone perform its stuff. It is often required to test how

Riccardo Coppola Riccardo Coppola
JavaScript

How to fix 'npm install' errors on OS X

I've had this problem for a while: fresh nodejs and npm installation, I try to run npm install or npm install -g and get all kind of errors. Errors when running npm install

Riccardo Coppola Riccardo Coppola
finiteloop © 2019
Latest Posts Twitter Ghost