Permalink
Browse files

ng g service todo/todo

  • Loading branch information...
1 parent 7e78e82 commit 1f389a33a1bf59b011a58838fcd87450951f2987 @amejiarosario committed Oct 17, 2016
Showing with 24 additions and 0 deletions.
  1. +16 −0 src/app/todo/todo.service.spec.ts
  2. +8 −0 src/app/todo/todo.service.ts
@@ -0,0 +1,16 @@
+/* tslint:disable:no-unused-variable */
+
+import { TestBed, async, inject } from '@angular/core/testing';
+import { TodoService } from './todo.service';
+
+describe('Service: Todo', () => {
+ beforeEach(() => {
+ TestBed.configureTestingModule({
+ providers: [TodoService]
+ });
+ });
+
+ it('should ...', inject([TodoService], (service: TodoService) => {
+ expect(service).toBeTruthy();
+ }));
+});
@@ -0,0 +1,8 @@
+import { Injectable } from '@angular/core';
+
+@Injectable()
+export class TodoService {
+
+ constructor() { }
+
+}

0 comments on commit 1f389a3

Please sign in to comment.