UNPKG

rpd

Version:

RPD is a minimal framework for building Node-Based User Interfaces, powered by Reactive Programming

25 lines (17 loc) 564 B
describe('building: renderer', function() { it('target could be empty, network case', function() { Rpd.renderer('foo', function() {}); expect(function() { Rpd.renderNext('foo'); Rpd.addPatch(); }).not.toReportAnyError(); Rpd.stopRendering(); }); it('target could be empty, patch case', function() { Rpd.renderer('foo', function() {}); expect(function() { Rpd.addPatch().render('foo'); }).not.toReportAnyError(); Rpd.stopRendering(); }); });