UNPKG

teacup-yoppet

Version:

Render HTML with native CoffeeScript templates. No magic, no fuss. Teacup Yoppet

8 lines (6 loc) 217 B
expect = require 'expect.js' {render, comment} = require '..' describe 'Comments', -> it 'renders HTML <!--comments-->', -> template = -> comment "Comment" expect(render template).to.equal '<!--Comment-->'