Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mes-9906-ionic8 #1830

Merged
merged 16 commits into from
Nov 26, 2024
Merged
Prev Previous commit
removed unneeded imports
  • Loading branch information
RLCorp committed Nov 26, 2024
commit 46d0a3ffecc65a564538d6200a6fa3d605bc9923
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { AppModule } from '@app/app.module';
import { IonicModule, NavController, NavParams, Platform } from '@ionic/angular';
import { NavControllerMock, NavParamsMock, PlatformMock } from '@mocks/index.mock';
import { IonicModule, NavController, Platform } from '@ionic/angular';
import { NavControllerMock, PlatformMock } from '@mocks/index.mock';
import { AuthenticationProviderMock } from '@providers/authentication/__mocks__/authentication.mock';
import { AuthenticationProvider } from '@providers/authentication/authentication';
import { DateTimeProviderMock } from '@providers/date-time/__mocks__/date-time.mock';
Expand All @@ -22,7 +22,6 @@ describe('TerminateTestModal', () => {
imports: [IonicModule, AppModule],
providers: [
{ provide: NavController, useClass: NavControllerMock },
{ provide: NavParams, useClass: NavParamsMock },
{ provide: Platform, useClass: PlatformMock },
{ provide: AuthenticationProvider, useClass: AuthenticationProviderMock },
{ provide: DateTimeProvider, useClass: DateTimeProviderMock },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MockAppComponent } from '@app/__mocks__/app.component.mock';
import { AppComponent } from '@app/app.component';
import { VRNCaptureModal } from '@components/common/vrn-capture-modal/vrn-capture-modal';
import { IonicModule, ModalController, NavParams } from '@ionic/angular';
import { ModalControllerMock, NavParamsMock } from '@mocks/index.mock';
import { IonicModule, ModalController } from '@ionic/angular';
import { ModalControllerMock } from '@mocks/index.mock';
import { Store } from '@ngrx/store';

describe('VRNCaptureModal', () => {
Expand All @@ -20,7 +20,6 @@ describe('VRNCaptureModal', () => {
imports: [FormsModule, ReactiveFormsModule, IonicModule, CommonModule],
providers: [
{ provide: ModalController, useClass: ModalControllerMock },
{ provide: NavParams, useClass: NavParamsMock },
{ provide: Store, useClass: StoreMock },
{ provide: AppComponent, useClass: MockAppComponent },
],
Expand Down