Permalink
Browse files

ng g service todo/todo

  • Loading branch information...
amejiarosario committed Aug 7, 2018
1 parent 67ae866 commit c4fa45d33c200f5fe5adb8239ba53db491254512
Showing with 24 additions and 0 deletions.
  1. +15 −0 src/app/todo/todo.service.spec.ts
  2. +9 −0 src/app/todo/todo.service.ts
@@ -0,0 +1,15 @@
import { TestBed, inject } from '@angular/core/testing';

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

describe('TodoService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [TodoService]
});
});

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

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

constructor() { }
}

0 comments on commit c4fa45d

Please sign in to comment.