dsrini.os·Mar 11, 2023Unit tests with Mocha, chai, sinon, proxyquire (with babel) configUnit tests are primary, and for mocha to run ES6 code, it requires the babel config which one can specify as below,
dsrini.os·Feb 20, 2020JCache with EhCache provider in Spring boot 2JCache eases cache maintenance and is an unified approach when compared with Spring Cache and so. There are lot of articles on Spring…
dsrini.os·Feb 20, 2020Completable Future — Java8Probably you are aware that executing assynchronous code is easier with Java 8. Completable future provides a way to run tasks in async…
dsrini.os·Jun 20, 2019Babel 7 env based settingsThough babel provides the env based configuration; not a lot is clear until you could see an example
dsrini.os·May 31, 2019Natural Ordering of js files in gulpThough gulp-order, gulp-sort orders the files and one can provide their own compare function, neither works for natural order of files…