Skip to content

Commit

Permalink
Merge pull request #44 from codyjdalton/compiler-scope
Browse files Browse the repository at this point in the history
compiler-scope: update tests
  • Loading branch information
codyjdalton authored May 11, 2018
2 parents b71e642 + 9f0b1cf commit 5221e11
Show file tree
Hide file tree
Showing 6 changed files with 197 additions and 390 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ node_js :
install:
- npm install
script:
- npm test
- npm run build

# Send coverage data to Coveralls
after_script: "cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js"
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ export class PeopleComponent {
produces: ResourceVersions.PEOPLE_V1 // Content-Type header
})
getPeople(req: HttpRequest, res: HttpResponse): void {
// get the list of all people
this.personService.fetchAll()
.subscribe(
(people: Person[]) => res.success(people),
Expand All @@ -211,7 +210,6 @@ export class PeopleComponent {
produces: ResourceVersions.PEOPLE_V1 // Content-Type header
})
getPerson(req: HttpRequest, res: HttpResponse): void {
// get the list of all people
this.personService.fetchById(req.params.id)
.subscribe(
(people: Person[]) => res.success(people),
Expand All @@ -228,7 +226,6 @@ export class PeopleComponent {
produces: ResourceVersions.PERSON_V1 // Content-Type header
})
updatePerson(req: HttpRequest, res: HttpResponse): void {
// update person
this.personService.update(req.params.id, req.body)
.subscribe(
(person: Person) => res.success(person),
Expand Down
Loading

0 comments on commit 5221e11

Please sign in to comment.