mcopy/app/test/settings.test.js

18 lines
483 B
JavaScript
Raw Normal View History

2019-04-15 19:10:29 +00:00
const assert = require('assert')
const settings = require('settings')
describe('settings module', async () => {
it('should be an object', () =>{
assert.equal(typeof settings, 'object')
})
it('should have a save method', () =>{
assert.equal(typeof settings.save, 'function')
})
it('should have a restore method', () =>{
assert.equal(typeof settings.restore, 'function')
})
it('should have a reset method', () =>{
assert.equal(typeof settings.reset, 'function')
})
})