UNPKG

autocode-cli

Version:

code automation for every language, framework and platform

18 lines (16 loc) 527 B
autocode = require '../../../src/autocode' describe 'autocode', () -> describe 'validate', () -> describe 'copyright', () -> it 'should be optional', () -> (-> new autocode {}) .should.not.throw "'copyright' is required." it 'should be a string', () -> # object config = { name: 'test' version: '0.0.0' copyright: {} } (-> new autocode config) .should.throw "`copyright` must be a `string`, not a `object`."