node tests: Use zrequire in filter.js.

This commit is contained in:
Steve Howell 2017-11-08 08:20:46 -08:00 committed by Tim Abbott
parent ad59600062
commit b2775506a4
1 changed files with 5 additions and 7 deletions

View File

@ -1,14 +1,12 @@
add_dependencies({
people: 'js/people.js',
stream_data: 'js/stream_data.js',
util: 'js/util.js',
unread: 'js/unread.js',
});
zrequire('util');
zrequire('unread');
zrequire('stream_data');
zrequire('people');
zrequire('Filter', 'js/filter');
set_global('page_params', {});
set_global('feature_flags', {});
var Filter = require('js/filter.js');
var _ = global._;
var me = {