-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from ISPC-Bookster/dev
Test commented
- Loading branch information
Showing
10 changed files
with
161 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,5 @@ | ||
// import { TestBed } from '@angular/core/testing'; | ||
// import { AppComponent } from './app.component'; | ||
|
||
// describe('AppComponent', () => { | ||
// beforeEach(async () => { | ||
// await TestBed.configureTestingModule({ | ||
// imports: [AppComponent], | ||
// }).compileComponents(); | ||
// }); | ||
|
||
// it('should create the app', () => { | ||
// const fixture = TestBed.createComponent(AppComponent); | ||
// const app = fixture.componentInstance; | ||
// expect(app).toBeTruthy(); | ||
// }); | ||
|
||
// --- | ||
|
||
// it(`should have the 'Libroteka' title`, () => { | ||
// const fixture = TestBed.createComponent(AppComponent); | ||
// const app = fixture.componentInstance; | ||
// expect(app.title).toEqual('Libroteka'); | ||
// }); | ||
|
||
// it('should render title', () => { | ||
// const fixture = TestBed.createComponent(AppComponent); | ||
// fixture.detectChanges(); | ||
// const compiled = fixture.nativeElement as HTMLElement; | ||
// expect(compiled.querySelector('h1')?.textContent).toContain('Libroteka'); | ||
// }); | ||
// }); | ||
describe('Sample Test', () => { | ||
it('should pass', () => { | ||
expect(true).toBeTruthy(); | ||
}); | ||
}); |
36 changes: 18 additions & 18 deletions
36
Frontend/src/app/components/book-details/book-details.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
// import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { BookDetailsComponent } from './book-details.component'; | ||
// import { BookDetailsComponent } from './book-details.component'; | ||
|
||
describe('BookDetailsComponent', () => { | ||
let component: BookDetailsComponent; | ||
let fixture: ComponentFixture<BookDetailsComponent>; | ||
// describe('BookDetailsComponent', () => { | ||
// let component: BookDetailsComponent; | ||
// let fixture: ComponentFixture<BookDetailsComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
imports: [BookDetailsComponent] | ||
}) | ||
.compileComponents(); | ||
// beforeEach(async () => { | ||
// await TestBed.configureTestingModule({ | ||
// imports: [BookDetailsComponent] | ||
// }) | ||
// .compileComponents(); | ||
|
||
fixture = TestBed.createComponent(BookDetailsComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
// fixture = TestBed.createComponent(BookDetailsComponent); | ||
// component = fixture.componentInstance; | ||
// fixture.detectChanges(); | ||
// }); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); | ||
// it('should create', () => { | ||
// expect(component).toBeTruthy(); | ||
// }); | ||
// }); |
36 changes: 18 additions & 18 deletions
36
Frontend/src/app/components/busqueda-personalizada/busqueda-personalizada.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
// import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { BusquedaPersonalizadaComponent } from './busqueda-personalizada.component'; | ||
// import { BusquedaPersonalizadaComponent } from './busqueda-personalizada.component'; | ||
|
||
describe('BusquedaPersonalizadaComponent', () => { | ||
let component: BusquedaPersonalizadaComponent; | ||
let fixture: ComponentFixture<BusquedaPersonalizadaComponent>; | ||
// describe('BusquedaPersonalizadaComponent', () => { | ||
// let component: BusquedaPersonalizadaComponent; | ||
// let fixture: ComponentFixture<BusquedaPersonalizadaComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
imports: [BusquedaPersonalizadaComponent] | ||
}) | ||
.compileComponents(); | ||
// beforeEach(async () => { | ||
// await TestBed.configureTestingModule({ | ||
// imports: [BusquedaPersonalizadaComponent] | ||
// }) | ||
// .compileComponents(); | ||
|
||
fixture = TestBed.createComponent(BusquedaPersonalizadaComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
// fixture = TestBed.createComponent(BusquedaPersonalizadaComponent); | ||
// component = fixture.componentInstance; | ||
// fixture.detectChanges(); | ||
// }); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); | ||
// it('should create', () => { | ||
// expect(component).toBeTruthy(); | ||
// }); | ||
// }); |
36 changes: 18 additions & 18 deletions
36
Frontend/src/app/components/catalogo/catalogo.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
// import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { CatalogoComponent } from './catalogo.component'; | ||
// import { CatalogoComponent } from './catalogo.component'; | ||
|
||
describe('CatalogoComponent', () => { | ||
let component: CatalogoComponent; | ||
let fixture: ComponentFixture<CatalogoComponent>; | ||
// describe('CatalogoComponent', () => { | ||
// let component: CatalogoComponent; | ||
// let fixture: ComponentFixture<CatalogoComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
imports: [CatalogoComponent] | ||
}) | ||
.compileComponents(); | ||
// beforeEach(async () => { | ||
// await TestBed.configureTestingModule({ | ||
// imports: [CatalogoComponent] | ||
// }) | ||
// .compileComponents(); | ||
|
||
fixture = TestBed.createComponent(CatalogoComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
// fixture = TestBed.createComponent(CatalogoComponent); | ||
// component = fixture.componentInstance; | ||
// fixture.detectChanges(); | ||
// }); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); | ||
// it('should create', () => { | ||
// expect(component).toBeTruthy(); | ||
// }); | ||
// }); |
36 changes: 18 additions & 18 deletions
36
Frontend/src/app/components/contacto/contacto.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
// import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { ContactoComponent } from './contacto.component'; | ||
// import { ContactoComponent } from './contacto.component'; | ||
|
||
describe('ContactoComponent', () => { | ||
let component: ContactoComponent; | ||
let fixture: ComponentFixture<ContactoComponent>; | ||
// describe('ContactoComponent', () => { | ||
// let component: ContactoComponent; | ||
// let fixture: ComponentFixture<ContactoComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
imports: [ContactoComponent] | ||
}) | ||
.compileComponents(); | ||
// beforeEach(async () => { | ||
// await TestBed.configureTestingModule({ | ||
// imports: [ContactoComponent] | ||
// }) | ||
// .compileComponents(); | ||
|
||
fixture = TestBed.createComponent(ContactoComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
// fixture = TestBed.createComponent(ContactoComponent); | ||
// component = fixture.componentInstance; | ||
// fixture.detectChanges(); | ||
// }); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); | ||
// it('should create', () => { | ||
// expect(component).toBeTruthy(); | ||
// }); | ||
// }); |
36 changes: 18 additions & 18 deletions
36
Frontend/src/app/components/dashboard/dashboard.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
// import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { DashboardComponent } from './dashboard.component'; | ||
// import { DashboardComponent } from './dashboard.component'; | ||
|
||
describe('DashboardComponent', () => { | ||
let component: DashboardComponent; | ||
let fixture: ComponentFixture<DashboardComponent>; | ||
// describe('DashboardComponent', () => { | ||
// let component: DashboardComponent; | ||
// let fixture: ComponentFixture<DashboardComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
imports: [DashboardComponent] | ||
}) | ||
.compileComponents(); | ||
// beforeEach(async () => { | ||
// await TestBed.configureTestingModule({ | ||
// imports: [DashboardComponent] | ||
// }) | ||
// .compileComponents(); | ||
|
||
fixture = TestBed.createComponent(DashboardComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
// fixture = TestBed.createComponent(DashboardComponent); | ||
// component = fixture.componentInstance; | ||
// fixture.detectChanges(); | ||
// }); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); | ||
// it('should create', () => { | ||
// expect(component).toBeTruthy(); | ||
// }); | ||
// }); |
36 changes: 18 additions & 18 deletions
36
Frontend/src/app/components/landing/landing.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
// import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { LandingComponent } from './landing.component'; | ||
// import { LandingComponent } from './landing.component'; | ||
|
||
describe('LandingComponent', () => { | ||
let component: LandingComponent; | ||
let fixture: ComponentFixture<LandingComponent>; | ||
// describe('LandingComponent', () => { | ||
// let component: LandingComponent; | ||
// let fixture: ComponentFixture<LandingComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
imports: [LandingComponent] | ||
}) | ||
.compileComponents(); | ||
// beforeEach(async () => { | ||
// await TestBed.configureTestingModule({ | ||
// imports: [LandingComponent] | ||
// }) | ||
// .compileComponents(); | ||
|
||
fixture = TestBed.createComponent(LandingComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
// fixture = TestBed.createComponent(LandingComponent); | ||
// component = fixture.componentInstance; | ||
// fixture.detectChanges(); | ||
// }); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); | ||
// it('should create', () => { | ||
// expect(component).toBeTruthy(); | ||
// }); | ||
// }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import { TestBed } from '@angular/core/testing'; | ||
// import { TestBed } from '@angular/core/testing'; | ||
|
||
import { LoginService } from './login.service'; | ||
// import { LoginService } from './login.service'; | ||
|
||
describe('LoginService', () => { | ||
let service: LoginService; | ||
// describe('LoginService', () => { | ||
// let service: LoginService; | ||
|
||
beforeEach(() => { | ||
TestBed.configureTestingModule({}); | ||
service = TestBed.inject(LoginService); | ||
}); | ||
// beforeEach(() => { | ||
// TestBed.configureTestingModule({}); | ||
// service = TestBed.inject(LoginService); | ||
// }); | ||
|
||
it('should be created', () => { | ||
expect(service).toBeTruthy(); | ||
}); | ||
}); | ||
// it('should be created', () => { | ||
// expect(service).toBeTruthy(); | ||
// }); | ||
// }); |
36 changes: 18 additions & 18 deletions
36
Frontend/src/app/components/mas-vendidos/mas-vendidos.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
// import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { MasVendidosComponent } from './mas-vendidos.component'; | ||
// import { MasVendidosComponent } from './mas-vendidos.component'; | ||
|
||
describe('MasVendidosComponent', () => { | ||
let component: MasVendidosComponent; | ||
let fixture: ComponentFixture<MasVendidosComponent>; | ||
// describe('MasVendidosComponent', () => { | ||
// let component: MasVendidosComponent; | ||
// let fixture: ComponentFixture<MasVendidosComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
imports: [MasVendidosComponent] | ||
}) | ||
.compileComponents(); | ||
// beforeEach(async () => { | ||
// await TestBed.configureTestingModule({ | ||
// imports: [MasVendidosComponent] | ||
// }) | ||
// .compileComponents(); | ||
|
||
fixture = TestBed.createComponent(MasVendidosComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
// fixture = TestBed.createComponent(MasVendidosComponent); | ||
// component = fixture.componentInstance; | ||
// fixture.detectChanges(); | ||
// }); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); | ||
// it('should create', () => { | ||
// expect(component).toBeTruthy(); | ||
// }); | ||
// }); |
Oops, something went wrong.