node tests: Use zrequire in util.js.

This commit is contained in:
Steve Howell
2017-11-08 11:09:05 -08:00
committed by Tim Abbott
parent 8cdd08a02a
commit a1c5b0928e

View File

@@ -1,14 +1,8 @@
set_global('$', global.make_zjquery());
set_global('page_params', {});
set_global('document', {});
set_global('window', {});
add_dependencies({
util: 'js/util.js',
});
var util = global.util;
var _ = global._;
zrequire('util');
(function test_CachedValue() {
var x = 5;