Only set previous reference if it existed

This commit is contained in:
Raul Ochoa 2017-02-01 11:23:39 +01:00
parent 975abe9b5c
commit 515fbd0991

View File

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