mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Fix Wizard unit tests
This commit is contained in:
@@ -3,12 +3,12 @@ import { registerHelpers } from 'discourse-common/lib/helpers';
|
||||
export default {
|
||||
name: 'load-helpers',
|
||||
|
||||
initialize(container, registry) {
|
||||
initialize(application) {
|
||||
Object.keys(requirejs.entries).forEach(entry => {
|
||||
if ((/\/helpers\//).test(entry)) {
|
||||
require(entry, null, null, true);
|
||||
}
|
||||
});
|
||||
registerHelpers(registry);
|
||||
registerHelpers(application);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user