UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

15 lines (12 loc) 334 B
var config = require('../') var test = require('tape') test('test basic properties of config', function (t) { t.ok(isObject(config.parserOptions)) t.ok(isObject(config.env)) t.ok(isObject(config.globals)) t.ok(isObject(config.rules)) t.end() }) function isObject (obj) { return typeof obj === 'object' && obj !== null }