Only set previous reference if it existed

pull/33/head
Raul Ochoa 8 years ago
parent 975abe9b5c
commit 515fbd0991

@ -106,7 +106,9 @@ describe('RendererJS Strict Mode', function() {
});
after(function() {
tree.Reference.setData(this.referenceData);
if (this.referenceData) {
tree.Reference.setData(this.referenceData);
}
});
it('should fail if a feature is not supported and strict is turned on', function () {

Loading…
Cancel
Save