28 lines
760 B
TypeScript
28 lines
760 B
TypeScript
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
import { MatCardModule } from '@angular/material/card';
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
import { AuthComponent } from './auth.component';
|
|
|
|
describe('AuthComponent', () => {
|
|
let component: AuthComponent;
|
|
let fixture: ComponentFixture<AuthComponent>;
|
|
|
|
beforeEach(async () => {
|
|
await TestBed.configureTestingModule({
|
|
declarations: [ AuthComponent ],
|
|
imports: [ MatCardModule, RouterModule ],
|
|
providers: [ ]
|
|
})
|
|
.compileComponents();
|
|
|
|
fixture = TestBed.createComponent(AuthComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|