angular-unit-test-helper
Advanced tools
Comparing version 13.0.1 to 13.0.2
@@ -12,3 +12,7 @@ import { Component } from '@angular/core'; | ||
const newClass = (getWindow()[className] = () => { }); | ||
return __decorate([Component({ selector: selectorName, template })], newClass); | ||
const decoratedObject = __decorate([Component({ selector: selectorName, template })], newClass); | ||
if (!decoratedObject.prototype) { | ||
decoratedObject.prototype = {}; | ||
} | ||
return decoratedObject; | ||
} | ||
@@ -15,0 +19,0 @@ function getWindow() { |
{ | ||
"name": "angular-unit-test-helper", | ||
"version": "13.0.1", | ||
"version": "13.0.2", | ||
"description": "Helper functions to help write unit tests in Angular using mocks and spies", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
21068
160