diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..a7ac4f6 --- /dev/null +++ b/.npmignore @@ -0,0 +1,16 @@ +.github +.DS_Store +.editorconfig +.gitignore +.gitmodules +.lgtm.yml +appveyor.yml +codecov.yml +.release +.travis.yml +.eslintrc.yaml +.eslintrc.json +.codeclimate.yml +test/ +DEVELOP.md +.prettierrc.yml \ No newline at end of file diff --git a/lib/config.test.js b/lib/config.test.js index 65cf517..e762cb9 100644 --- a/lib/config.test.js +++ b/lib/config.test.js @@ -27,19 +27,14 @@ describe('config', () => { process.env.NODE_DEBUG = '' }) - it(`loads session test config`, async () => { - const cfg = await Config.get('session', 'test') - assert.deepEqual(cfg, sessCfg) - }) - - it(`loads session test config syncronously`, () => { - const cfg = Config.getSync('session', 'test') + it(`loads http test config`, async () => { + const cfg = await Config.get('http', 'test') assert.deepEqual(cfg, sessCfg) }) it(`loads http test config syncronously`, () => { const cfg = Config.getSync('http', 'test') - assert.deepEqual(cfg, httpCfg) + assert.deepEqual(cfg, sessCfg) }) it(`detects NODE_DEBUG env`, async () => {