mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
15 lines
332 B
JavaScript
15 lines
332 B
JavaScript
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'
|
|
}
|
|
});
|
|
}; |