1 | // tests/config.js
|
2 | var chai = require('chai');
|
3 | var expect = chai.expect; // we are using the "expect" style of Chai
|
4 | var config = require('../index').config;
|
5 | process.env.CONFIG_PATH = "./tests/config";
|
6 |
|
7 | describe('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 |