Monthly Archives: March 2018

Mocking the CSS webpack imports using identity-obj-proxy

I’m sure at some point you have encountered the SyntaxError: Unexpected token . error when preparing tests with Jest, it pointed at the dot of the CSS class name. ({“Object.“:function(module,exports,require,__dirname,__filename,global,jest){.my-class { ^ SyntaxError: Unexpected token . If you are familiar with it … Continue reading

Posted in JavaScript, ReactJS | Tagged , , , | Comments Off on Mocking the CSS webpack imports using identity-obj-proxy

Sample SPA – React + Redux with Axios – modifications

In my previous post I’ve created simple app that was loading a list of the users. In this iteration I’ve added a feature so now user can navigate through that list.

Posted in Uncategorized | Comments Off on Sample SPA – React + Redux with Axios – modifications