UNPKG

460 BJavaScriptView Raw
1// tests/config.js
2var chai = require('chai');
3var expect = chai.expect; // we are using the "expect" style of Chai
4var config = require('../index').config;
5process.env.CONFIG_PATH = "./tests/config";
6
7describe('config', function() {
8 it('getSubtotal() should return 0 if no items are passed in', function() {
9 var tt = new config();
10 console.log(tt.appSettings);
11 expect(tt.appSettings).to.not.equal(undefined);
12 });
13});
\No newline at end of file