mirror of https://github.com/zulip/zulip.git
node tests: Use zrequire in filter.js.
This commit is contained in:
parent
ad59600062
commit
b2775506a4
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue