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.
Make runtime mocking of
class
/function
more prominent – and introduce a better approach of mocking by their objects (export default resolve(actual)
) usingMap
to avoid name collisions.Make mocking other objects use the
export default resolve(actual, mock)
syntax, or consider different approach.