Ajout du home manquant dans le commit précédent !

pull/2/head
Clement FERRERE 3 years ago
parent 506db1744b
commit 36cea04523
  1. 0
      src/app/home/home.component.css
  2. 1
      src/app/home/home.component.html
  3. 25
      src/app/home/home.component.spec.ts
  4. 15
      src/app/home/home.component.ts

@ -0,0 +1 @@
<p>home works!</p>

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

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}
Loading…
Cancel
Save