Question : add 'no_errors_schema' to the '@ngmodule.schemas'
Answered by : jules
schemas: [ CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA ]
Source : | Last Update : Wed, 21 Oct 20
Question : add 'no_errors_schema' to the '@ngmodule.schemas'
Answered by : panicky-pony-gm813337ntlf
beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ yourcomponent ], schemas: [NO_ERRORS_SCHEMA] }) .compileComponents(); }));
Source : https://coders911.org/questions/47566743/To-allow-any-element-add-NOERRORSSCHEMA-to-the-NgModuleschemas-of-this-component-in-Angular-4 | Last Update : Sat, 02 Apr 22