How to use oc-template-handlebars - 1 common examples

To help you get started, we’ve selected a few oc-template-handlebars examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github opencomponents / oc / test / unit / registry-domain-register-templates.js View on Github external
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()
      ]);
    });

oc-template-handlebars

OC-Template-Handlebars

MIT
Latest version published 3 years ago

Package Health Score

54 / 100
Full package analysis

Popular oc-template-handlebars functions