Skip to content

Commit

Permalink
setting env config to fail silently to supress ci errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Edwards authored and Chris Edwards committed Jan 2, 2017
1 parent 0d24879 commit 30161c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ config.includeStack = true;
describe('The Index Lambda Handler', () => {

beforeEach((done) => {
dotenv.config();
dotenv.config({ silent: true });
done();
});

Expand Down
2 changes: 1 addition & 1 deletion test/test_propublica.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe('The ProPublica API Helper', () => {


beforeEach((done) => {
dotenv.config();
dotenv.config({ silent: true });
const { PROPUBLICA_KEY } = process.env;
setProPublicaKey(PROPUBLICA_KEY);
done();
Expand Down

0 comments on commit 30161c7

Please sign in to comment.