node tests: Use zrequire in message_list_view.js.

This commit is contained in:
Steve Howell 2017-11-08 09:14:57 -08:00 committed by Tim Abbott
parent 98c4ee3175
commit 180f910764
1 changed files with 3 additions and 7 deletions

View File

@ -1,10 +1,6 @@
var _ = require('node_modules/underscore/underscore.js');
var MessageListView = require('js/message_list_view.js');
add_dependencies({
XDate: 'node_modules/xdate/src/xdate.js',
util: 'js/util.js',
});
zrequire('util');
zrequire('XDate', 'node_modules/xdate/src/xdate');
var MessageListView = zrequire('message_list_view');
set_global('page_params', {
twenty_four_hour_time: false,