Update register component test
This commit is contained in:
parent
f8bfd2c873
commit
697c432182
|
@ -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);
|
||||||
|
|
|
@ -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();
|
|
||||||
});
|
|
||||||
});
|
|
Loading…
Reference in New Issue