Write acceptance tests and component tests for Ember code in Discourse

For a long time we weren’t great with testing plugins, so not many people followed our example and added tests.

You are right to add a response using pretender to handle AJAX calls.

4 Likes