Skip to content

Commit 4f26254

Browse files
committed
fixed tests
1 parent 38b83c6 commit 4f26254

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

projects/zxing-scanner-demo/src/app/app-info-dialog/app-info-dialog.component.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
2-
import { MatLegacyDialogRef as MatDialogRef, MAT_LEGACY_DIALOG_DATA as MAT_DIALOG_DATA } from '@angular/material/legacy-dialog';
2+
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
33
import { AppInfoComponent } from '../app-info/app-info.component';
44
import { AppUiModule } from '../app-ui.module';
55
import { AppInfoDialogComponent } from './app-info-dialog.component';

projects/zxing-scanner-demo/src/app/app.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component } from '@angular/core';
2-
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
2+
import { MatDialog } from '@angular/material/dialog';
33
import { BarcodeFormat } from '@zxing/library';
44
import { BehaviorSubject } from 'rxjs';
55
import { FormatsDialogComponent } from './formats-dialog/formats-dialog.component';

projects/zxing-scanner-demo/src/app/formats-dialog/formats-dialog.component.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
2-
import { MatLegacyDialogRef as MatDialogRef, MAT_LEGACY_DIALOG_DATA as MAT_DIALOG_DATA } from '@angular/material/legacy-dialog';
2+
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
33
import { AppUiModule } from '../app-ui.module';
44
import { FormatsDialogComponent } from './formats-dialog.component';
55

0 commit comments

Comments
 (0)