Wildhoney / Mocktail

:tropical_drink: Mock all of your ES6 module components with Mocktail using dependency injection.
http://mocktail.herokuapp.com/
MIT License
103 stars 6 forks source link

Consider refactoring #1

Closed Wildhoney closed 8 years ago

Wildhoney commented 8 years ago

Make runtime mocking of class/function more prominent – and introduce a better approach of mocking by their objects (export default resolve(actual)) using Map to avoid name collisions.

Make mocking other objects use the export default resolve(actual, mock) syntax, or consider different approach.