Update register component test

This commit is contained in:
Pablo Bonilla 2021-07-04 01:25:47 -06:00
parent f8bfd2c873
commit 697c432182
No known key found for this signature in database
GPG Key ID: 46877262B8DE47E2
3 changed files with 2 additions and 24 deletions

View File

@ -62,6 +62,8 @@ describe('Component Tests', () => {
password: 'password', password: 'password',
login: '', login: '',
langKey: 'es', langKey: 'es',
name: '',
profileIcon: 1,
}); });
expect(comp.success).toBe(true); expect(comp.success).toBe(true);
expect(comp.errorUserExists).toBe(false); expect(comp.errorUserExists).toBe(false);

View File

@ -1,24 +0,0 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SwiperlibComponent } from './swiperlib.component';
describe('SwiperlibComponent', () => {
let component: SwiperlibComponent;
let fixture: ComponentFixture<SwiperlibComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [SwiperlibComponent],
}).compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(SwiperlibComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});