(api,config,options)
| 26 | }); |
| 27 | |
| 28 | var newEngine = function newEngine(api,config,options) { |
| 29 | api.should.equal(ss.api); |
| 30 | options.should.equal(ss.client.options); |
| 31 | return { |
| 32 | name: 'New', |
| 33 | process: function (template, path, id, opts) { |
| 34 | return '<script id="new-' + id + '" type="text/x-tmpl">' + template + JSON.stringify(opts.constants) + '</script>'; |
| 35 | } |
| 36 | } |
| 37 | }; |
| 38 | |
| 39 | it('should be available in template engine formatters', function(done) { |
| 40 |
nothing calls this directly
no outgoing calls
no test coverage detected