Skip to content

Commit

Permalink
Merge pull request #1713 from rodekruis/test.clear-warnings
Browse files Browse the repository at this point in the history
test: remove CUSTOM SCHEMA warnings
  • Loading branch information
gulfaraz authored Oct 28, 2024
2 parents e7e9a46 + 07a15cd commit b67184a
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { provideHttpClientTesting } from '@angular/common/http/testing';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { IonicModule } from '@ionic/angular';
Expand All @@ -15,6 +16,7 @@ describe('AboutBtnComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [AboutBtnComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
imports: [IonicModule, RouterTestingModule],
providers: [
provideHttpClient(withInterceptorsFromDi()),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { provideHttpClientTesting } from '@angular/common/http/testing';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { IonicModule } from '@ionic/angular';
Expand All @@ -16,6 +17,7 @@ describe('ActivationLogButtonComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ActivationLogButtonComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
imports: [
IonicModule.forRoot(),
RouterTestingModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { provideHttpClientTesting } from '@angular/common/http/testing';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
Expand All @@ -17,6 +18,7 @@ describe('ChangePasswordPopoverComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ChangePasswordPopoverComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
imports: [IonicModule.forRoot(), FormsModule, RouterTestingModule],
providers: [
{ provide: AuthService },
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { provideHttpClientTesting } from '@angular/common/http/testing';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { IonicModule } from '@ionic/angular';
Expand All @@ -16,6 +17,7 @@ describe('CommunityNotificationPopupComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [CommunityNotificationPopupComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
imports: [IonicModule, RouterTestingModule, TranslateModule.forRoot()],
providers: [
provideHttpClient(withInterceptorsFromDi()),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { provideHttpClientTesting } from '@angular/common/http/testing';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { IonicModule } from '@ionic/angular';
Expand All @@ -15,6 +16,7 @@ describe('ExportViewComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ExportViewComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
imports: [IonicModule, RouterTestingModule],
providers: [
provideHttpClient(withInterceptorsFromDi()),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { provideHttpClientTesting } from '@angular/common/http/testing';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { IonicModule } from '@ionic/angular';
Expand All @@ -16,6 +17,7 @@ describe('IbfGuideButtonComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [IbfGuideButtonComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
imports: [IonicModule, RouterTestingModule, TranslateModule.forRoot()],
providers: [
provideHttpClient(withInterceptorsFromDi()),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { provideHttpClientTesting } from '@angular/common/http/testing';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
Expand All @@ -18,6 +19,7 @@ describe('LoginFormComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [LoginFormComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
imports: [
IonicModule,
FormsModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { provideHttpClientTesting } from '@angular/common/http/testing';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { IonicModule } from '@ionic/angular';
Expand All @@ -16,6 +17,7 @@ describe('UserStateComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [UserStateComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
imports: [IonicModule, RouterTestingModule, TranslateModule.forRoot()],
providers: [
provideHttpClient(withInterceptorsFromDi()),
Expand Down

0 comments on commit b67184a

Please sign in to comment.