parent
1bcec429be
commit
b84e2b5de2
@ -1 +1,3 @@
|
||||
<h1>To Do App</h1>
|
||||
<app-todos-index></app-todos-index>
|
||||
<app-todos-create></app-todos-create>
|
||||
|
||||
@ -0,0 +1,3 @@
|
||||
<p>
|
||||
todos-create works!
|
||||
</p>
|
||||
@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { TodosCreateComponent } from './todos-create.component';
|
||||
|
||||
describe('TodosCreateComponent', () => {
|
||||
let component: TodosCreateComponent;
|
||||
let fixture: ComponentFixture<TodosCreateComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ TodosCreateComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(TodosCreateComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should be created', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-todos-create',
|
||||
templateUrl: './todos-create.component.html',
|
||||
styleUrls: ['./todos-create.component.css']
|
||||
})
|
||||
export class TodosCreateComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
<p>
|
||||
todos-index works!
|
||||
</p>
|
||||
@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { TodosIndexComponent } from './todos-index.component';
|
||||
|
||||
describe('TodosIndexComponent', () => {
|
||||
let component: TodosIndexComponent;
|
||||
let fixture: ComponentFixture<TodosIndexComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ TodosIndexComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(TodosIndexComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should be created', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-todos-index',
|
||||
templateUrl: './todos-index.component.html',
|
||||
styleUrls: ['./todos-index.component.css']
|
||||
})
|
||||
export class TodosIndexComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in new issue