Skip to content

Commit e248716

Browse files
committed
[test] Add data property to MonitorMock
1 parent 748380b commit e248716

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/helpers/mocks/monitor.js

+7
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,10 @@ var MonitorMock = exports.MonitorMock = function (options) {
99
};
1010
util.inherits(MonitorMock, broadway.App);
1111

12+
MonitorMock.prototype.__defineGetter__('data', function () {
13+
return {
14+
uid: '_uid',
15+
command: 'node'
16+
}
17+
});
18+

0 commit comments

Comments
 (0)