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({ zrequire('util');
people: 'js/people.js', zrequire('unread');
stream_data: 'js/stream_data.js', zrequire('stream_data');
util: 'js/util.js', zrequire('people');
unread: 'js/unread.js', zrequire('Filter', 'js/filter');
});
set_global('page_params', {}); set_global('page_params', {});
set_global('feature_flags', {}); set_global('feature_flags', {});
var Filter = require('js/filter.js');
var _ = global._; var _ = global._;
var me = { var me = {