define([
+'libs/jquery',
'libs/chai',
'libs/sinon',
'modules/nodePane/metaWidget/metaWidget'
-], function(chai, sinon, metaWidget) {
+], function($, chai, sinon, metaWidget) {
'use strict';
+/* globals describe, it */
var assert = chai.assert;
var dom = $('<div>');
var widget = metaWidget.create({
el: dom,
- attrs: [{name: 'uri', type: 'string', value: 'test string'}],
+ attrs: {'uri': {type: 'string', value: 'test string'}},
});
var spy = sinon.spy();