diff --git a/js/modules/messages_data_migrator.js b/js/modules/messages_data_migrator.js index c1b4f3e0d98..9ccb8c98ac2 100644 --- a/js/modules/messages_data_migrator.js +++ b/js/modules/messages_data_migrator.js @@ -3,7 +3,7 @@ const isFunction = require('lodash/isFunction'); const Message = require('./types/message'); -const processNext = async ({ +exports.processNext = async ({ BackboneMessage, BackboneMessageCollection, count, @@ -92,8 +92,3 @@ const _fetchMessagesRequiringSchemaUpgrade = resolve(messages); })); }; - - -module.exports = { - processNext, -};