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

18 lines (12 loc) 429 B
var path = require('path'); var test = require('tape'); var resolve = require('../'); // not sure what's up with this test anymore if (process.platform !== 'win32') return; test('faulty basedir must produce error in windows', function (t) { t.plan(1); var resolverDir = 'C:\\a\\b\\c\\d'; resolve('tape/lib/test.js', { basedir : resolverDir }, function (err, res, pkg) { t.equal(true, !!err); }); });