zjsunit: Remove pointless reassignment of ‘module’.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-05-26 15:38:59 -07:00
committed by Tim Abbott
parent cea7d713cd
commit 0423e6b7cc

View File

@@ -63,9 +63,8 @@ global.stub_templates = handlebars.stub_templates;
const noop = function () {};
// Set up fake module.hot
// eslint-disable-next-line no-native-reassign
module = require('module');
module.prototype.hot = {
const Module = require('module');
Module.prototype.hot = {
accept: noop,
};