@angular-package/testing
Version:
Jasmine unit testing wrapper with additional custom testing features.
1 lines • 295 B
JavaScript
export function mixin(...e){return e.reduce(((e,t)=>class extends e{constructor(...r){super(...r),Object.assign(this,new t(...r)),Object.getOwnPropertyNames(t.prototype).forEach((r=>{Object.defineProperty(e.prototype,r,Object.getOwnPropertyDescriptor(t.prototype,r)||Object.create(null))}))}}))}