mirror of https://github.com/zulip/zulip.git
node tests: Use zrequire in topic_data.js.
This commit is contained in:
parent
1dc5218ef5
commit
c32f69bef6
|
@ -1,6 +1,6 @@
|
|||
global.stub_out_jquery();
|
||||
|
||||
var stream_color = require('js/stream_color.js');
|
||||
zrequire('stream_color');
|
||||
|
||||
(function test_pick_color() {
|
||||
var used_colors = ["#76ce90", "#fae589"];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var topic_data = require('js/topic_data.js');
|
||||
zrequire('topic_data');
|
||||
|
||||
set_global('channel', {});
|
||||
|
||||
|
|
Loading…
Reference in New Issue