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

14 lines (11 loc) 310 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.rules)) t.ok(Array.isArray(config.plugins)) t.end() }) function isObject (obj) { return typeof obj === 'object' && obj !== null }