Skip to content
Permalink
Browse files

add todo service

  • Loading branch information
amejiarosario committed Nov 7, 2019
1 parent d3106d7 commit 9e5d935d2e23276cbf321396720f45cdaf19daab
Showing with 21 additions and 0 deletions.
  1. +12 −0 src/app/todo/todo.service.spec.ts
  2. +9 −0 src/app/todo/todo.service.ts
@@ -0,0 +1,12 @@
import { TestBed } from '@angular/core/testing';

import { TodoService } from './todo.service';

describe('TodoService', () => {
beforeEach(() => TestBed.configureTestingModule({}));

it('should be created', () => {
const service: TodoService = TestBed.get(TodoService);
expect(service).toBeTruthy();
});
});
@@ -0,0 +1,9 @@
import { Injectable } from '@angular/core';

@Injectable({
providedIn: 'root'
})
export class TodoService {

constructor() { }
}

0 comments on commit 9e5d935

Please sign in to comment.
You can’t perform that action at this time.