mirror of
https://github.com/marko-js/marko.git
synced 2026-01-25 15:03:04 +00:00
10 lines
291 B
JavaScript
10 lines
291 B
JavaScript
var expect = require('chai').expect;
|
|
|
|
module.exports = function (helpers) {
|
|
var component = helpers.mount(require('./index'), {});
|
|
|
|
component.incrementBar();
|
|
|
|
var children = component.getEl('root').children;
|
|
expect(children[children.length - 1].nodeName).to.equal('SPAN');
|
|
}; |