Ellisande / mockolate

Simple mocking framework for JS
MIT License
1 stars 3 forks source link

Promise support #10

Closed Ellisande closed 8 years ago

Ellisande commented 8 years ago

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Feature

What is the current behavior? (You can also link to an open relevant tickets here)

Promise mocks are not supported

What is the new behavior (if this is a feature change)?

It is now possible to mock functions that return a promise.

Where should the reviewer start?

Then then object.

This is how I tested it

Lots of unit tests.

Does this PR introduce a breaking change?

No If yes:

Ellisande commented 8 years ago

@guyellis if you get a chance could you just look over the README and let me know if you think it reads well? I might have been tired and inebriated while writing it so an extra set of eyes would be a big help =) https://github.com/Ellisande/mockolate/blob/promise-support/README.md

Ellisande commented 8 years ago

Closes #6