Pavallo's Tech Pit

Monday, 14 August 2017

Jest: mocking externally dependencies, classes and injecting the class contructor

It started posting a question on Stackoverflow here
Posted by pavallo at 02:37 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: class, javascript, jest, mock, test

Saturday, 12 August 2017

Custom Error in NodeJS v7

Had a lot of trouble with it but finally found this solution on Node v7.10.0 :


Posted by pavallo at 04:45 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: error, javascript, nodejs
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

pavallo
View my complete profile

Blog Archive

  • ►  2019 (1)
    • ►  November (1)
  • ►  2018 (1)
    • ►  February (1)
  • ▼  2017 (9)
    • ►  November (1)
    • ▼  August (2)
      • Jest: mocking externally dependencies, classes and...
      • Custom Error in NodeJS v7
    • ►  May (1)
    • ►  April (2)
    • ►  March (3)
  • ►  2015 (3)
    • ►  September (3)
Awesome Inc. theme. Powered by Blogger.