Skip to content

Commit

Permalink
Hello world test (#29)
Browse files Browse the repository at this point in the history
* Hello world test

* Updated test
  • Loading branch information
devin-aot authored Dec 6, 2022
1 parent 3493b67 commit 4413b40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/app.controller.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ describe('AppController', () => {
})

describe('getHello', () => {
it('should return "Hello World!"', () => {
it('should return "Hello World! - test"', () => {
const appController = app.get<AppController>(AppController)
expect(appController.getHello()).toBe('Hello World!')
expect(appController.getHello()).toBe('Hello World! - test')
})
})
})
2 changes: 1 addition & 1 deletion frontend/src/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { Injectable } from '@nestjs/common'
@Injectable()
export class AppService {
getHello (): string {
return 'Hello World!'
return 'Hello World! - test'
}
}

0 comments on commit 4413b40

Please sign in to comment.