From 60c073ae5926d7192986bfc20df993e3891565e5 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 6 Jun 2019 13:00:23 +0200 Subject: [PATCH] typos (#7716) --- test/javascripts/test_helper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/javascripts/test_helper.js b/test/javascripts/test_helper.js index 6e3b7675635..35d9fbb3b31 100644 --- a/test/javascripts/test_helper.js +++ b/test/javascripts/test_helper.js @@ -156,7 +156,7 @@ QUnit.testDone(function() { server.shutdown(); // ensures any event not removed is not leaking between tests - // most like in intialisers, other places (controller, component...) + // most likely in intialisers, other places (controller, component...) // should be fixed in code var appEvents = window.Discourse.__container__.lookup("app-events:main"); var events = appEvents.__proto__._events; @@ -167,7 +167,7 @@ QUnit.testDone(function() { }); }); - // attempts to remove any subscribed message bug callback + // attempts to remove any subscribed message bus callback window.MessageBus.callbacks.forEach(function(callback) { window.MessageBus.unsubscribe(callback.channel, callback.func); });