text: 'use strict';
  
  function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
  
  const test = require('blue-tape');
  const nodeTemplate = require('..');
  
  test('index', t => {
    t.equal(typeof nodeTemplate, 'object', 'should be object');
    t.end();
  });
  
  test('index.run', (() => {
    var _ref = _asyncToGenerator(function* (t) {
      t.equal(typeof nodeTemplate.run, 'function', 'should be function');
      let result = yield nodeTemplate.run('one', 2);
      t.equal(result, 'first arg is - one ok!', 'should return "one"');
    });
  
    return function (_x) {
      return _ref.apply(this, arguments);
    };
  })());