0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/test/unit/config.js

18 lines
406 B
JavaScript
Raw Normal View History

2017-03-03 18:39:26 -05:00
'use strict';
const assert = require('assert');
const config_hash = require('./partials/config');
2017-06-21 12:02:52 -05:00
const Config = require('../../src/lib/config');
2017-03-03 18:39:26 -05:00
describe('Config', function() {
before(function() {
this.config = new Config(config_hash);
});
it('npmjs uplink should have a default cache option that is true', function() {
assert.equal(this.config.uplinks['npmjs'].cache, true);
});
});