[Pkg-javascript-commits] [node-coveralls] 100/332: Added getBaseOptions export to index.js

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:53:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-coveralls.

commit 2d4e05941db109062291ef194935cec42eef2cb7
Author: Matthew J. Morrison <mattjmorrison at mattjmorrison.com>
Date:   Fri Sep 6 22:47:15 2013 -0500

    Added getBaseOptions export to index.js
---
 index.js           | 1 +
 test/getOptions.js | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/index.js b/index.js
index 53cf95c..911cc99 100644
--- a/index.js
+++ b/index.js
@@ -1,6 +1,7 @@
 var dir = './lib/';
 exports.convertLcovToCoveralls = require(dir + 'convertLcovToCoveralls');
 exports.sendToCoveralls = require(dir + 'sendToCoveralls');
+exports.getBaseOptions = require(dir + 'getOptions').getBaseOptions;
 exports.getOptions = require(dir + 'getOptions').getOptions;
 exports.handleInput = require(dir + 'handleInput');
 exports.logger = require(dir + 'logger');
diff --git a/test/getOptions.js b/test/getOptions.js
index 87e5b80..939cedd 100644
--- a/test/getOptions.js
+++ b/test/getOptions.js
@@ -1,7 +1,7 @@
 var should = require('should');
-var getOptions = require('../index').getOptions;
-var getBaseOptions = require('../lib/getOptions').getBaseOptions;
-
+var index = require('../index');
+var getOptions = index.getOptions;
+var getBaseOptions = index.getBaseOptions;
 
 describe("getBaseOptions", function(){
   beforeEach(function(){

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-coveralls.git



More information about the Pkg-javascript-commits mailing list