From 4e03335a28f3258ddcc4fe25a85e55e1e1daf785 Mon Sep 17 00:00:00 2001 From: Ayrton Sparling Date: Wed, 14 Dec 2016 16:22:03 -0800 Subject: [PATCH] Add require support --- mock/LightDMMock.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mock/LightDMMock.js b/mock/LightDMMock.js index cf7c41f..5ca033c 100644 --- a/mock/LightDMMock.js +++ b/mock/LightDMMock.js @@ -570,3 +570,7 @@ LightDMMock.watch('timed_login_user', function() { LightDMMock.watch('timed_login_delay', function() { window.deprecationNotifier("property", "timed_login_delay", "lightdm.autologin_timeout"); }); + +if (module) { + module.exports = LightDMMock; +}