Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rewire.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'testLib/constModule.js')
-rw-r--r--testLib/constModule.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/testLib/constModule.js b/testLib/constModule.js
index 042b797..77396d9 100644
--- a/testLib/constModule.js
+++ b/testLib/constModule.js
@@ -1,13 +1,13 @@
const someOtherModule = require("./someOtherModule");
const language = "nl";
-module.exports.getLang = () => {
+exports.getLang = () => {
return language;
-}
+};
exports.getOtherModuleName = () => {
return someOtherModule.name;
-}
+};
exports.filename = __filename;
exports.dirname = __dirname;