Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should correctly register core-templates only', () => {
expect(registered.templatesHash).to.deep.eql({
'oc-template-es6': require('oc-template-es6'),
'oc-template-jade': require('oc-template-jade'),
'oc-template-handlebars': require('oc-template-handlebars')
});
expect(registered.templatesInfo).to.deep.eql([
require('oc-template-es6').getInfo(),
require('oc-template-jade').getInfo(),
require('oc-template-handlebars').getInfo()
]);
});
});