init
This commit is contained in:
13
lib/factory/test/version.js
Normal file
13
lib/factory/test/version.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const expect = require('chai').expect
|
||||
const version = require('../version')
|
||||
|
||||
describe('version factory', function() {
|
||||
it('should produce a valid version', function() {
|
||||
var v = version()
|
||||
expect(v).to.be.an('object')
|
||||
expect(v).to.deep.equal({
|
||||
type: 'version',
|
||||
version: 1
|
||||
})
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user