Skip to content

Commit

Permalink
ng g service todo/todo
Browse files Browse the repository at this point in the history
  • Loading branch information
amejiarosario committed Oct 17, 2016
1 parent 7e78e82 commit 1f389a3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/app/todo/todo.service.spec.ts
Original file line number Diff line number Diff line change
@@ -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]

This comment has been minimized.

Copy link
@PabloTicona

PabloTicona Aug 23, 2017

nnnn

});
});

it('should ...', inject([TodoService], (service: TodoService) => {
expect(service).toBeTruthy();
}));
});
8 changes: 8 additions & 0 deletions src/app/todo/todo.service.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { Injectable } from '@angular/core';

@Injectable()
export class TodoService {

constructor() { }

}

0 comments on commit 1f389a3

Please sign in to comment.