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 & extra templates', () => {
expect(registerd.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'),
'new-tpl': templateMock
});
expect(registerd.templatesInfo).to.deep.eql([
require('oc-template-es6').getInfo(),
require('oc-template-jade').getInfo(),
require('oc-template-handlebars').getInfo(),
templateMock.getInfo()
]);
});