UNPKG

marko-widgets

Version:

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

15 lines (13 loc) 332 B
var expect = require('chai').expect; module.exports = function(helpers) { var widget = helpers.mount(require('./index'), {}); expect(widget.config).to.deep.equal({ string: 'world', number: 12, boolean: true, complex: { a: '<\"hello">', b: 'test' } }); };