From 23313f2ddf2c4e93e1166ff81f9e197257ff6e63 Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Wed, 8 Nov 2017 09:38:52 -0800 Subject: [PATCH] node tests: Use zrequire in presence.js. --- frontend_tests/node_tests/presence.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/frontend_tests/node_tests/presence.js b/frontend_tests/node_tests/presence.js index 0e09b88607..afc1ad5b8d 100644 --- a/frontend_tests/node_tests/presence.js +++ b/frontend_tests/node_tests/presence.js @@ -1,8 +1,5 @@ -add_dependencies({ - people: 'js/people.js', -}); - -var presence = require('js/presence.js'); +zrequire('people'); +zrequire('presence'); set_global('server_events', {}); set_global('blueslip', {});