mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
9 lines
241 B
JavaScript
9 lines
241 B
JavaScript
var expect = require('chai').expect;
|
|
|
|
module.exports = function(helpers) {
|
|
helpers.mount(require('./index'), {
|
|
name: 'Frank'
|
|
});
|
|
var targetEl = helpers.targetEl;
|
|
expect(targetEl.innerHTML).to.equal('Hello Frank!');
|
|
}; |