jest-hbs-extension
Version:
Jest extension to test HBS templates
17 lines (12 loc) • 521 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var _toMatchCompiledHandlebarsTemplate = require('./toMatchCompiledHandlebarsTemplate');
var _toMatchCompiledHandlebarsTemplate2 = _interopRequireDefault(_toMatchCompiledHandlebarsTemplate);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = viewsPath => {
return {
toMatchCompiledHandlebarsTemplate: (0, _toMatchCompiledHandlebarsTemplate2.default)(viewsPath)
};
};