Comparing version 0.1.3 to 0.1.4
@@ -37,3 +37,5 @@ 'use strict'; | ||
'.jade': ['jade'], | ||
'.mustache': ['hogan.js', 'mustache', 'handlebars'] | ||
'.mustache': ['hogan.js', 'mustache', 'handlebars'], | ||
'.hbs': [ 'handlebars' ], | ||
'.handlebars': [ 'handlebars' ] | ||
}; | ||
@@ -40,0 +42,0 @@ |
{ | ||
"name": "temper", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Temper compiles template for client and server side usage.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,2 +17,18 @@ describe('temper', function () { | ||
it('has list with supported types', function () { | ||
expect(temper.supported).to.have.property('.ejs'); | ||
expect(temper.supported).to.have.property('.jade'); | ||
expect(temper.supported).to.have.property('.mustache'); | ||
expect(temper.supported).to.have.property('.hbs'); | ||
expect(temper.supported).to.have.property('.handlebars'); | ||
expect(temper.supported['.ejs']).to.include('ejs'); | ||
expect(temper.supported['.jade']).to.include('jade'); | ||
expect(temper.supported['.mustache']).to.include('hogan.js'); | ||
expect(temper.supported['.mustache']).to.include('mustache'); | ||
expect(temper.supported['.mustache']).to.include('handlebars'); | ||
expect(temper.supported['.hbs']).to.include('handlebars'); | ||
expect(temper.supported['.handlebars']).to.include('handlebars'); | ||
}); | ||
describe('#read', function () { | ||
@@ -19,0 +35,0 @@ it('should read the file contents and return a string', function () { |
17161
325