UNPKG

marko-widgets

Version:

Module to support binding of behavior to rendered UI components rendered on the server or client

12 lines (10 loc) 254 B
var expect = require('chai').expect; module.exports = { init: function() { window.app = this; this.helloWidgets = this.getWidgets('hello'); }, test: function() { expect(this.helloWidgets.length).to.equal(5); } };