From be35370c9bb9bc3787e069dc3537c9df2cb9427b Mon Sep 17 00:00:00 2001 From: Johannes Ewald Date: Sat, 11 Nov 2017 02:48:54 +0100 Subject: [PATCH] Update .travis.yml Remove unsupported node versions --- .travis.yml | 5 ++--- testLib/constModule.js | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2b15e35..5f98a89 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,9 @@ language: node_js node_js: - - "0.10" - - "0.12" - "4" - - "5" - "6" + - "8" + - "9" script: - npm test 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;