dojo / widgets

:rocket: Dojo - UI widgets.
https://widgets.dojo.io
Other
89 stars 65 forks source link

Use sinon for test assertions rather than `called` booleans #234

Closed tomdye closed 7 years ago

tomdye commented 7 years ago

Enhancement

In order to provide easy to read test assertions and a consistent approach to unit tests we should look to leverage sinon spy and stub where appropriate. This will involve revisiting existing unit tests for widgets.

eheasley commented 7 years ago

This will be included in the tests going forward.