node tests: Use zrequire in topic_data.js.

This commit is contained in:
Steve Howell 2017-11-08 11:46:38 -08:00 committed by Tim Abbott
parent 1dc5218ef5
commit c32f69bef6
2 changed files with 2 additions and 2 deletions

View File

@ -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"];

View File

@ -1,4 +1,4 @@
var topic_data = require('js/topic_data.js');
zrequire('topic_data');
set_global('channel', {});