@orchestrator/ngx-testing
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -357,2 +357,3 @@ (function (global, factory) { | ||
: extra.entryComponents, | ||
schemas: extra.schemas, | ||
},] }, | ||
@@ -495,2 +496,4 @@ ]; | ||
var testModule = this.testModule; | ||
/** @type {?} */ | ||
var ngModule = this.extraConfig.ngModule; | ||
var TestModule = /** @class */ (function () { | ||
@@ -505,2 +508,3 @@ function TestModule() { | ||
entryComponents: [host], | ||
schemas: ngModule ? ngModule.schemas : [], | ||
},] }, | ||
@@ -507,0 +511,0 @@ ]; |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/common"),require("@angular/platform-browser"),require("@angular/core"),require("@angular/core/testing")):"function"==typeof define&&define.amd?define("@orchestrator/ngx-testing",["exports","@angular/common","@angular/platform-browser","@angular/core","@angular/core/testing"],t):t((e.ngx=e.ngx||{},e.ngx.testing={}),e.ng.common,e.ng.platformBrowser,e.ng.core,e.ng.core.testing)}(this,function(e,t,n,i,r){"use strict";var o={Component:0,Directive:1};o[o.Component]="Component",o[o.Directive]="Directive";var u=function(){return function(){return null}};function c(){return u}var s=new i.InjectionToken("TestModuleToken"),a=new i.InjectionToken("TestTypeToken"),p=new i.InjectionToken("TestTypeKindToken"),f=new i.InjectionToken("ExtraConfigToken"),l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function m(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function h(t,u,c,s){return new(c||(c=Promise))(function(e,n){function o(e){try{i(s.next(e))}catch(t){n(t)}}function r(e){try{i(s["throw"](e))}catch(t){n(t)}}function i(t){t.done?e(t.value):new c(function(e){e(t.value)}).then(o,r)}i((s=s.apply(t,u||[])).next())})}function d(o,r){var i,u,c,e,s={label:0,sent:function(){if(1&c[0])throw c[1];return c[1]},trys:[],ops:[]};return e={next:t(0),"throw":t(1),"return":t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function n(e){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,u&&(c=2&e[0]?u["return"]:e[0]?u["throw"]||((c=u["return"])&&c.call(u),0):u.next)&&!(c=c.call(u,e[1])).done)return c;switch(u=0,c&&(e=[2&e[0],c.value]),e[0]){case 0:case 1:c=e;break;case 4:return s.label++,{value:e[1],done:!1};case 5:s.label++,u=e[1],e=[0];continue;case 7:e=s.ops.pop(),s.trys.pop();continue;default:if(!(c=0<(c=s.trys).length&&c[c.length-1])&&(6===e[0]||2===e[0])){s=0;continue}if(3===e[0]&&(!c||e[1]>c[0]&&e[1]<c[3])){s.label=e[1];break}if(6===e[0]&&s.label<c[1]){s.label=c[1],c=e;break}if(c&&s.label<c[2]){s.label=c[2],s.ops.push(e);break}c[2]&&s.ops.pop(),s.trys.pop();continue}e=r.call(o,s)}catch(t){e=[6,t],u=0}finally{i=c=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([t,e])}}}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),u=[];try{for(;(void 0===t||0<t--)&&!(o=i.next()).done;)u.push(o.value)}catch(c){r={error:c}}finally{try{o&&!o.done&&(n=i["return"])&&n.call(i)}finally{if(r)throw r.error}}return u}function g(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(function(e,t){return function n(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}(e,function o(e){return e||[]}(t))},[])}var v=function(){function e(){}return e.forComponent=function(e,t){void 0===t&&(t={});var n=C(e,e,t.ngModule);return{ngModule:n,providers:[{provide:s,useValue:n},{provide:a,useValue:e},{provide:p,useValue:o.Component},{provide:f,useValue:t}]}},e.forDirective=function(e,t){void 0===t&&(t={});var n=C(e,t.hostComponent,t.ngModule);return{ngModule:n,providers:[{provide:s,useValue:n},{provide:a,useValue:e},{provide:p,useValue:o.Directive},{provide:f,useValue:t}]}},e.decorators=[{type:i.NgModule,args:[{imports:[t.CommonModule],exports:[t.CommonModule]}]}],e}();function C(t,n,o){return void 0===o&&(o={}),function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{imports:g(o.imports,[v]),exports:g(o.exports,[v,t]),declarations:g(o.declarations,[t]),entryComponents:n?g(o.entryComponents,[n]):o.entryComponents}]}],e}()}function b(e,t,n,o){return void 0===n&&(n=""),"<"+e+" "+function r(e){return e.map(function(e){var t=e.templateName,n=e.propName;return"["+t+']="'+n+'"'}).join(" ")}(t.inputs)+" "+function i(e){return e.map(function(e){var t=e.templateName,n=e.propName;return"("+t+')="'+n+'($event)"'}).join(" ")}(t.outputs)+" "+(o?"string"==typeof o?"let-"+o:Object.keys(o).map(function(e){return"let-"+e+(o[e]?'="'+o[e]+'"':"")}).join(" "):"")+">"+n+"</"+e+">"}function j(e,t,n,o,r){return void 0===o&&(o=""),"<"+t+" "+function i(o,e,t){var n=e.filter(function(e){var t=e.templateName;return t!==o}).map(function(e){var t=e.templateName,n=e.propName;return t.replace(o,"")+": "+n}).join("; "),r=t?"string"==typeof t?"let "+t:Object.keys(t).map(function(e){return"let "+e+(t[e]?": "+t[e]:"")}).join(", "):"";return"*"+o+'="'+o+"; "+n+"; "+r+'"'}(e,n.inputs,r)+">"+o+"</"+t+">"}var x=function(){function e(e,t){this.cfr=e,this.injector=t,this.testModule=this.injector.get(s),this.typeToken=this.injector.get(a),this.typeKind=this.injector.get(p),this.extraConfig=this.injector.get(f)}return e.prototype.generateModuleFor=function(t){var n=this.testModule;return function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{imports:[n],declarations:[t],exports:[t],entryComponents:[t]}]}],e}()},e.prototype.generate=function(){switch(this.typeKind){case o.Component:return this.generateForComponent();case o.Directive:return this.generateForDirective();default:throw Error("HostGeneratorService: Cannot generate host component for unknown kind: "+this.typeKind)}},e.prototype.generateForComponent=function(){return this.genForComponent(this.typeToken)},e.prototype.generateForDirective=function(){return this.genForDirective(this.typeToken)},e.prototype.genForComponent=function(e){var t=this.cfr.resolveComponentFactory(e),n="host-"+t.selector,o=this.extraConfig.template||b(t.selector,t,this.extraConfig.projectContent);return this.genComponent({selector:n,template:o},e,t)},e.prototype.genForDirective=function(e){var t=function i(e){var t=e.ngBaseDef,n=t.inputs,o=t.outputs,r=function(t){return Object.keys(t).map(function(e){return{propName:e,templateName:t[e]||e}})};return{inputs:r(n),outputs:r(o)}}(e),n=this.extraConfig.template?"":this.extraConfig.hostComponent?this.cfr.resolveComponentFactory(this.extraConfig.hostComponent).selector:this.extraConfig.hostTag,o=this.extraConfig.template||(n?this.genDirectiveTemplate(n,t):"");return this.genComponent({selector:"host-directive",template:o},e,t)},e.prototype.genDirectiveTemplate=function(e,t){return this.extraConfig.useStarSyntax?j(t.inputs[0].templateName,e,t,this.extraConfig.projectContent,this.extraConfig.templateBindings):b(e,t,this.extraConfig.projectContent,this.extraConfig.templateBindings)},e.prototype.genComponent=function(t,n,o){var r=this;return function(){function e(){r.initComponent(n,this,o)}return e.decorators=[{type:i.Component,args:[t]}],e.ctorParameters=function(){return[]},e.propDecorators={instance:[{type:i.ViewChild,args:[n]}]},e}()},e.prototype.initComponent=function(n,o,e){e.inputs.forEach(function(e){var t=e.propName;return o[t]=undefined}),e.outputs.forEach(function(e){var t=e.propName;return o[t]=c()(t,n.name,n,function(){return o.instance})})},e.decorators=[{type:i.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:i.ComponentFactoryResolver},{type:i.Injector}]},e.ngInjectableDef=i.defineInjectable({factory:function(){return new e(i.inject(i.ComponentFactoryResolver),i.inject(i.INJECTOR))},token:e,providedIn:"root"}),e}(),T=function(){function e(e){this.injector=e,this.hostGeneratorService=this.injector.get(x),this.componentType=this.injector.get(a),this.hostComponentType=this.hostGeneratorService.generate(),this.compiler=this.injector.get(i.Compiler),this._didCompilation=!1}return Object.defineProperty(e.prototype,"fixture",{get:function(){return this._fixture},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostElement",{get:function(){return this._fixture.debugElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostHtmlElement",{get:function(){return this._fixture.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostComponent",{get:function(){return this._fixture.componentInstance},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){if(this._fixture)try{this._fixture.destroy()}catch(e){}},e.prototype.compileComponents=function(){return h(this,void 0,void 0,function(){var t;return d(this,function(e){switch(e.label){case 0:return this._didCompilation?[3,3]:(this._didCompilation=!0,t=this.hostGeneratorService.generateModuleFor(this.hostComponentType),[4,this.compiler.compileModuleAndAllComponentsAsync(t)]);case 1:return e.sent(),[4,r.TestBed.compileComponents()];case 2:return[2,e.sent()];case 3:return[2]}})})},e.prototype.createComponent=function(){return h(this,void 0,void 0,function(){return d(this,function(e){switch(e.label){case 0:return[4,this.compileComponents()];case 1:return e.sent(),this._fixture=r.TestBed.createComponent(this.hostComponentType),[2,this._fixture]}})})},e.prototype.overrideHostTemplate=function(e){r.TestBed.overrideTemplate(this.hostComponentType,e)},e.prototype.detectChanges=function(e){this._fixture.detectChanges(e)},e.prototype.query=function(e){return this.hostElement.query(n.By.directive(e))},e.prototype.queryComponent=function(e){var t=this.query(e);return t?t.componentInstance:undefined},e.prototype.queryComponentHtml=function(e){var t=this.query(e);return t?t.nativeElement:undefined},e.prototype.queryCss=function(e){return this.hostElement.query(n.By.css(e))},e}(),w=function(t){function e(e){return t.call(this,e)||this}return m(e,t),Object.defineProperty(e.prototype,"element",{get:function(){return this.query(this.componentType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"htmlElement",{get:function(){return this.queryComponentHtml(this.componentType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.element.componentInstance},enumerable:!0,configurable:!0}),e.decorators=[{type:i.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:i.Injector}]},e.ngInjectableDef=i.defineInjectable({factory:function(){return new e(i.inject(i.INJECTOR))},token:e,providedIn:"root"}),e}(T),I=function(t){function e(e){return t.call(this,e)||this}return m(e,t),Object.defineProperty(e.prototype,"directive",{get:function(){return this.hostComponent.instance},enumerable:!0,configurable:!0}),e.decorators=[{type:i.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:i.Injector}]},e.ngInjectableDef=i.defineInjectable({factory:function(){return new e(i.inject(i.INJECTOR))},token:e,providedIn:"root"}),e}(T);e.TestTypeKind=o,e.setOutputMock=function k(e){u=e},e.getOutputMock=c,e.NgxTestingModule=v,e.Host=T,e.HostComponentService=w,e.HostDirectiveService=I,e.getTestingForComponent=function O(e,t){var n=v.forComponent(e,t),o=function(){return r.TestBed.get(w)};return{testModule:n,getHost:o,createComponent:function(){return o().createComponent().then(o)}}},e.getTestingForDirective=function _(e,t){var n=v.forDirective(e,t),o=function(){return r.TestBed.get(I)};return{testModule:n,getHost:o,createComponent:function(){return o().createComponent().then(o)}}},Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/common"),require("@angular/platform-browser"),require("@angular/core"),require("@angular/core/testing")):"function"==typeof define&&define.amd?define("@orchestrator/ngx-testing",["exports","@angular/common","@angular/platform-browser","@angular/core","@angular/core/testing"],t):t((e.ngx=e.ngx||{},e.ngx.testing={}),e.ng.common,e.ng.platformBrowser,e.ng.core,e.ng.core.testing)}(this,function(e,t,n,i,r){"use strict";var o={Component:0,Directive:1};o[o.Component]="Component",o[o.Directive]="Directive";var u=function(){return function(){return null}};function c(){return u}var s=new i.InjectionToken("TestModuleToken"),a=new i.InjectionToken("TestTypeToken"),p=new i.InjectionToken("TestTypeKindToken"),f=new i.InjectionToken("ExtraConfigToken"),l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function m(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function h(t,u,c,s){return new(c||(c=Promise))(function(e,n){function o(e){try{i(s.next(e))}catch(t){n(t)}}function r(e){try{i(s["throw"](e))}catch(t){n(t)}}function i(t){t.done?e(t.value):new c(function(e){e(t.value)}).then(o,r)}i((s=s.apply(t,u||[])).next())})}function d(o,r){var i,u,c,e,s={label:0,sent:function(){if(1&c[0])throw c[1];return c[1]},trys:[],ops:[]};return e={next:t(0),"throw":t(1),"return":t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function n(e){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,u&&(c=2&e[0]?u["return"]:e[0]?u["throw"]||((c=u["return"])&&c.call(u),0):u.next)&&!(c=c.call(u,e[1])).done)return c;switch(u=0,c&&(e=[2&e[0],c.value]),e[0]){case 0:case 1:c=e;break;case 4:return s.label++,{value:e[1],done:!1};case 5:s.label++,u=e[1],e=[0];continue;case 7:e=s.ops.pop(),s.trys.pop();continue;default:if(!(c=0<(c=s.trys).length&&c[c.length-1])&&(6===e[0]||2===e[0])){s=0;continue}if(3===e[0]&&(!c||e[1]>c[0]&&e[1]<c[3])){s.label=e[1];break}if(6===e[0]&&s.label<c[1]){s.label=c[1],c=e;break}if(c&&s.label<c[2]){s.label=c[2],s.ops.push(e);break}c[2]&&s.ops.pop(),s.trys.pop();continue}e=r.call(o,s)}catch(t){e=[6,t],u=0}finally{i=c=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([t,e])}}}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),u=[];try{for(;(void 0===t||0<t--)&&!(o=i.next()).done;)u.push(o.value)}catch(c){r={error:c}}finally{try{o&&!o.done&&(n=i["return"])&&n.call(i)}finally{if(r)throw r.error}}return u}function g(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(function(e,t){return function n(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}(e,function o(e){return e||[]}(t))},[])}var v=function(){function e(){}return e.forComponent=function(e,t){void 0===t&&(t={});var n=C(e,e,t.ngModule);return{ngModule:n,providers:[{provide:s,useValue:n},{provide:a,useValue:e},{provide:p,useValue:o.Component},{provide:f,useValue:t}]}},e.forDirective=function(e,t){void 0===t&&(t={});var n=C(e,t.hostComponent,t.ngModule);return{ngModule:n,providers:[{provide:s,useValue:n},{provide:a,useValue:e},{provide:p,useValue:o.Directive},{provide:f,useValue:t}]}},e.decorators=[{type:i.NgModule,args:[{imports:[t.CommonModule],exports:[t.CommonModule]}]}],e}();function C(t,n,o){return void 0===o&&(o={}),function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{imports:g(o.imports,[v]),exports:g(o.exports,[v,t]),declarations:g(o.declarations,[t]),entryComponents:n?g(o.entryComponents,[n]):o.entryComponents,schemas:o.schemas}]}],e}()}function b(e,t,n,o){return void 0===n&&(n=""),"<"+e+" "+function r(e){return e.map(function(e){var t=e.templateName,n=e.propName;return"["+t+']="'+n+'"'}).join(" ")}(t.inputs)+" "+function i(e){return e.map(function(e){var t=e.templateName,n=e.propName;return"("+t+')="'+n+'($event)"'}).join(" ")}(t.outputs)+" "+(o?"string"==typeof o?"let-"+o:Object.keys(o).map(function(e){return"let-"+e+(o[e]?'="'+o[e]+'"':"")}).join(" "):"")+">"+n+"</"+e+">"}function j(e,t,n,o,r){return void 0===o&&(o=""),"<"+t+" "+function i(o,e,t){var n=e.filter(function(e){var t=e.templateName;return t!==o}).map(function(e){var t=e.templateName,n=e.propName;return t.replace(o,"")+": "+n}).join("; "),r=t?"string"==typeof t?"let "+t:Object.keys(t).map(function(e){return"let "+e+(t[e]?": "+t[e]:"")}).join(", "):"";return"*"+o+'="'+o+"; "+n+"; "+r+'"'}(e,n.inputs,r)+">"+o+"</"+t+">"}var x=function(){function e(e,t){this.cfr=e,this.injector=t,this.testModule=this.injector.get(s),this.typeToken=this.injector.get(a),this.typeKind=this.injector.get(p),this.extraConfig=this.injector.get(f)}return e.prototype.generateModuleFor=function(t){var n=this.testModule,o=this.extraConfig.ngModule;return function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{imports:[n],declarations:[t],exports:[t],entryComponents:[t],schemas:o?o.schemas:[]}]}],e}()},e.prototype.generate=function(){switch(this.typeKind){case o.Component:return this.generateForComponent();case o.Directive:return this.generateForDirective();default:throw Error("HostGeneratorService: Cannot generate host component for unknown kind: "+this.typeKind)}},e.prototype.generateForComponent=function(){return this.genForComponent(this.typeToken)},e.prototype.generateForDirective=function(){return this.genForDirective(this.typeToken)},e.prototype.genForComponent=function(e){var t=this.cfr.resolveComponentFactory(e),n="host-"+t.selector,o=this.extraConfig.template||b(t.selector,t,this.extraConfig.projectContent);return this.genComponent({selector:n,template:o},e,t)},e.prototype.genForDirective=function(e){var t=function i(e){var t=e.ngBaseDef,n=t.inputs,o=t.outputs,r=function(t){return Object.keys(t).map(function(e){return{propName:e,templateName:t[e]||e}})};return{inputs:r(n),outputs:r(o)}}(e),n=this.extraConfig.template?"":this.extraConfig.hostComponent?this.cfr.resolveComponentFactory(this.extraConfig.hostComponent).selector:this.extraConfig.hostTag,o=this.extraConfig.template||(n?this.genDirectiveTemplate(n,t):"");return this.genComponent({selector:"host-directive",template:o},e,t)},e.prototype.genDirectiveTemplate=function(e,t){return this.extraConfig.useStarSyntax?j(t.inputs[0].templateName,e,t,this.extraConfig.projectContent,this.extraConfig.templateBindings):b(e,t,this.extraConfig.projectContent,this.extraConfig.templateBindings)},e.prototype.genComponent=function(t,n,o){var r=this;return function(){function e(){r.initComponent(n,this,o)}return e.decorators=[{type:i.Component,args:[t]}],e.ctorParameters=function(){return[]},e.propDecorators={instance:[{type:i.ViewChild,args:[n]}]},e}()},e.prototype.initComponent=function(n,o,e){e.inputs.forEach(function(e){var t=e.propName;return o[t]=undefined}),e.outputs.forEach(function(e){var t=e.propName;return o[t]=c()(t,n.name,n,function(){return o.instance})})},e.decorators=[{type:i.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:i.ComponentFactoryResolver},{type:i.Injector}]},e.ngInjectableDef=i.defineInjectable({factory:function(){return new e(i.inject(i.ComponentFactoryResolver),i.inject(i.INJECTOR))},token:e,providedIn:"root"}),e}(),T=function(){function e(e){this.injector=e,this.hostGeneratorService=this.injector.get(x),this.componentType=this.injector.get(a),this.hostComponentType=this.hostGeneratorService.generate(),this.compiler=this.injector.get(i.Compiler),this._didCompilation=!1}return Object.defineProperty(e.prototype,"fixture",{get:function(){return this._fixture},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostElement",{get:function(){return this._fixture.debugElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostHtmlElement",{get:function(){return this._fixture.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostComponent",{get:function(){return this._fixture.componentInstance},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){if(this._fixture)try{this._fixture.destroy()}catch(e){}},e.prototype.compileComponents=function(){return h(this,void 0,void 0,function(){var t;return d(this,function(e){switch(e.label){case 0:return this._didCompilation?[3,3]:(this._didCompilation=!0,t=this.hostGeneratorService.generateModuleFor(this.hostComponentType),[4,this.compiler.compileModuleAndAllComponentsAsync(t)]);case 1:return e.sent(),[4,r.TestBed.compileComponents()];case 2:return[2,e.sent()];case 3:return[2]}})})},e.prototype.createComponent=function(){return h(this,void 0,void 0,function(){return d(this,function(e){switch(e.label){case 0:return[4,this.compileComponents()];case 1:return e.sent(),this._fixture=r.TestBed.createComponent(this.hostComponentType),[2,this._fixture]}})})},e.prototype.overrideHostTemplate=function(e){r.TestBed.overrideTemplate(this.hostComponentType,e)},e.prototype.detectChanges=function(e){this._fixture.detectChanges(e)},e.prototype.query=function(e){return this.hostElement.query(n.By.directive(e))},e.prototype.queryComponent=function(e){var t=this.query(e);return t?t.componentInstance:undefined},e.prototype.queryComponentHtml=function(e){var t=this.query(e);return t?t.nativeElement:undefined},e.prototype.queryCss=function(e){return this.hostElement.query(n.By.css(e))},e}(),w=function(t){function e(e){return t.call(this,e)||this}return m(e,t),Object.defineProperty(e.prototype,"element",{get:function(){return this.query(this.componentType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"htmlElement",{get:function(){return this.queryComponentHtml(this.componentType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.element.componentInstance},enumerable:!0,configurable:!0}),e.decorators=[{type:i.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:i.Injector}]},e.ngInjectableDef=i.defineInjectable({factory:function(){return new e(i.inject(i.INJECTOR))},token:e,providedIn:"root"}),e}(T),I=function(t){function e(e){return t.call(this,e)||this}return m(e,t),Object.defineProperty(e.prototype,"directive",{get:function(){return this.hostComponent.instance},enumerable:!0,configurable:!0}),e.decorators=[{type:i.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:i.Injector}]},e.ngInjectableDef=i.defineInjectable({factory:function(){return new e(i.inject(i.INJECTOR))},token:e,providedIn:"root"}),e}(T);e.TestTypeKind=o,e.setOutputMock=function k(e){u=e},e.getOutputMock=c,e.NgxTestingModule=v,e.Host=T,e.HostComponentService=w,e.HostDirectiveService=I,e.getTestingForComponent=function M(e,t){var n=v.forComponent(e,t),o=function(){return r.TestBed.get(w)};return{testModule:n,getHost:o,createComponent:function(){return o().createComponent().then(o)}}},e.getTestingForDirective=function O(e,t){var n=v.forDirective(e,t),o=function(){return r.TestBed.get(I)};return{testModule:n,getHost:o,createComponent:function(){return o().createComponent().then(o)}}},Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=orchestrator-ngx-testing.umd.min.js.map |
@@ -35,2 +35,4 @@ /** | ||
const testModule = this.testModule; | ||
/** @type {?} */ | ||
const ngModule = this.extraConfig.ngModule; | ||
class TestModule { | ||
@@ -44,2 +46,3 @@ } | ||
entryComponents: [host], | ||
schemas: ngModule ? ngModule.schemas : [], | ||
},] }, | ||
@@ -211,2 +214,2 @@ ]; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9zdC1nZW5lcmF0b3Iuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BvcmNoZXN0cmF0b3Ivbmd4LXRlc3RpbmcvIiwic291cmNlcyI6WyJsaWIvaG9zdC1nZW5lcmF0b3Iuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCx3QkFBd0IsRUFDeEIsVUFBVSxFQUNWLFFBQVEsRUFDUixRQUFRLEVBRVIsU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDOUMsT0FBTyxFQUFFLGNBQWMsRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3BFLE9BQU8sRUFDTCxnQkFBZ0IsRUFDaEIsZUFBZSxFQUNmLGlCQUFpQixFQUNqQixhQUFhLEdBQ2QsTUFBTSxVQUFVLENBQUM7QUFDbEIsT0FBTyxFQUlMLFlBQVksR0FDYixNQUFNLFNBQVMsQ0FBQztBQUNqQixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sUUFBUSxDQUFDOzs7OztBQVF4QyxNQUFNLE9BQU8sb0JBQW9COzs7OztJQU0vQixZQUNVLEdBQTZCLEVBQzdCLFFBQWtCO1FBRGxCLFFBQUcsR0FBSCxHQUFHLENBQTBCO1FBQzdCLGFBQVEsR0FBUixRQUFRLENBQVU7UUFQcEIsZUFBVSxHQUFHLElBQUksQ0FBQyxRQ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XG4gICAgaG9zdENvbXA6IEhvc3RDb21wb25lbnQ8YW55PixcbiAgICBpbzogRGlyZWN0aXZlSU8sXG4gICkge1xuICAgIGlvLmlucHV0cy5mb3JFYWNoKCh7IHByb3BOYW1lIH0pID0+IChob3N0Q29tcFtwcm9wTmFtZV0gPSB1bmRlZmluZWQpKTtcbiAgICBpby5vdXRwdXRzLmZvckVhY2goXG4gICAgICAoeyBwcm9wTmFtZSB9KSA9PlxuICAgICAgICAoaG9zdENvbXBbcHJvcE5hbWVdID0gZ2V0T3V0cHV0TW9jaygpKFxuICAgICAgICAgIHByb3BOYW1lLFxuICAgICAgICAgIGNvbXBUeXBlLm5hbWUsXG4gICAgICAgICAgY29tcFR5cGUsXG4gICAgICAgICAgKCkgPT4gaG9zdENvbXAuaW5zdGFuY2UsXG4gICAgICAgICkpLFxuICAgICk7XG4gIH1cbn1cbiJdfQ== |
@@ -80,2 +80,3 @@ /** | ||
: extra.entryComponents, | ||
schemas: extra.schemas, | ||
},] }, | ||
@@ -85,2 +86,2 @@ ]; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXRlc3RpbmcubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG9yY2hlc3RyYXRvci9uZ3gtdGVzdGluZy8iLCJzb3VyY2VzIjpbImxpYi9uZ3gtdGVzdGluZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQXVCLFFBQVEsRUFBUSxNQUFNLGVBQWUsQ0FBQztBQUVwRSxPQUFPLEVBQ0wsZ0JBQWdCLEVBQ2hCLGVBQWUsRUFDZixpQkFBaUIsRUFDakIsYUFBYSxHQUNkLE1BQU0sVUFBVSxDQUFDO0FBQ2xCLE9BQU8sRUFHTCxZQUFZLEdBQ2IsTUFB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var testModule = this.testModule; | ||
/** @type {?} */ | ||
var ngModule = this.extraConfig.ngModule; | ||
var TestModule = /** @class */ (function () { | ||
@@ -45,2 +47,3 @@ function TestModule() { | ||
entryComponents: [host], | ||
schemas: ngModule ? ngModule.schemas : [], | ||
},] }, | ||
@@ -267,2 +270,2 @@ ]; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9zdC1nZW5lcmF0b3Iuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BvcmNoZXN0cmF0b3Ivbmd4LXRlc3RpbmcvIiwic291cmNlcyI6WyJsaWIvaG9zdC1nZW5lcmF0b3Iuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCx3QkFBd0IsRUFDeEIsVUFBVSxFQUNWLFFBQVEsRUFDUixRQUFRLEVBRVIsU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDOUMsT0FBTyxFQUFFLGNBQWMsRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3BFLE9BQU8sRUFDTCxnQkFBZ0IsRUFDaEIsZUFBZSxFQUNmLGlCQUFpQixFQUNqQixhQUFhLEdBQ2QsTUFBTSxVQUFVLENBQUM7QUFDbEIsT0FBTyxFQUlMLFlBQVksR0FDYixNQUFNLFNBQVMsQ0FBQztBQUNqQixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sUUFBUSxDQUFDOzs7OztBQUt4QztJQVNFLDhCQUNVLEdBQTZCLEVBQzdCLFFBQWtCO1FBRGxCLFFBQUcsR0FBSCxHQUFHLENBQTBCO1FBQzdCLGFBQVEsR0FBUixRQUFRLENBQVU7UUFQcEIsZUFBVSxHQUFHLElBQUksQ0FBQyxRQUFRLENB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BUZXN0VHlwZUtpbmRUb2tlbiwgdXNlVmFsdWU6IFRlc3RUeXBlS2luZC5EaXJlY3RpdmUgfSxcbiAgICAgICAgeyBwcm92aWRlOiBFeHRyYUNvbmZpZ1Rva2VuLCB1c2VWYWx1ZTogZXh0cmFzIH0sXG4gICAgICBdLFxuICAgIH07XG4gIH1cbn1cblxuZnVuY3Rpb24gZ2V0VGVzdGluZ01vZHVsZUZvcjxUPihcbiAgdHlwZTogVHlwZTxUPixcbiAgZW50cnlUeXBlPzogVHlwZTxhbnk+LFxuICBleHRyYTogTmdNb2R1bGUgPSB7fSxcbikge1xuICBATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IG1lcmdlQXJyYXlzKGV4dHJhLmltcG9ydHMsIFtOZ3hUZXN0aW5nTW9kdWxlXSksXG4gICAgZXhwb3J0czogbWVyZ2VBcnJheXMoZXh0cmEuZXhwb3J0cywgW05neFRlc3RpbmdNb2R1bGUsIHR5cGVdKSxcbiAgICBkZWNsYXJhdGlvbnM6IG1lcmdlQXJyYXlzKGV4dHJhLmRlY2xhcmF0aW9ucywgW3R5cGVdKSxcbiAgICBlbnRyeUNvbXBvbmVudHM6IGVudHJ5VHlwZVxuICAgICAgPyBtZXJnZUFycmF5cyhleHRyYS5lbnRyeUNvbXBvbmVudHMsIFtlbnRyeVR5cGVdKVxuICAgICAgOiBleHRyYS5lbnRyeUNvbXBvbmVudHMsXG4gICAgc2NoZW1hczogZXh0cmEuc2NoZW1hcyxcbiAgfSlcbiAgY2xhc3MgVGVzdGluZ01vZHVsZTxEPiB7fVxuICByZXR1cm4gVGVzdGluZ01vZHVsZSBhcyBUeXBlPFRlc3RpbmdNb2R1bGU8VD4+O1xufVxuIl19 |
@@ -179,2 +179,3 @@ import { CommonModule } from '@angular/common'; | ||
: extra.entryComponents, | ||
schemas: extra.schemas, | ||
},] }, | ||
@@ -297,2 +298,4 @@ ]; | ||
const testModule = this.testModule; | ||
/** @type {?} */ | ||
const ngModule = this.extraConfig.ngModule; | ||
class TestModule { | ||
@@ -306,2 +309,3 @@ } | ||
entryComponents: [host], | ||
schemas: ngModule ? ngModule.schemas : [], | ||
},] }, | ||
@@ -308,0 +312,0 @@ ]; |
@@ -204,2 +204,3 @@ import { CommonModule } from '@angular/common'; | ||
: extra.entryComponents, | ||
schemas: extra.schemas, | ||
},] }, | ||
@@ -338,2 +339,4 @@ ]; | ||
var testModule = this.testModule; | ||
/** @type {?} */ | ||
var ngModule = this.extraConfig.ngModule; | ||
var TestModule = /** @class */ (function () { | ||
@@ -348,2 +351,3 @@ function TestModule() { | ||
entryComponents: [host], | ||
schemas: ngModule ? ngModule.schemas : [], | ||
},] }, | ||
@@ -350,0 +354,0 @@ ]; |
{ | ||
"name": "@orchestrator/ngx-testing", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Testing utilities for Angular projects", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
399572
4761