Skip to content

Commit

Permalink
Hello Demo! (#31)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Berg <[email protected]>
  • Loading branch information
cberg-aot and cpberg authored Dec 6, 2022
1 parent 4413b40 commit 198a5bf
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions backend/src/app.controller.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ describe('AppController', () => {
});

describe('root', () => {
it('should return "Hello World!"', () => {
expect(appController.getHello()).toBe('Hello World!');
it('should return "Hello Demo!"', () => {
expect(appController.getHello()).toBe('Hello Demo!');
});
});
});
2 changes: 1 addition & 1 deletion backend/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 Demo!";
}
}
2 changes: 1 addition & 1 deletion backend/test/app.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ describe('AppController (e2e)', () => {
it('/ (GET)', () => request(app.getHttpServer())
.get('/')
.expect(200)
.expect('Hello World!'))
.expect('Hello Demo!'))
})
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! - test"', () => {
it('should return "Hello Demo!"', () => {
const appController = app.get<AppController>(AppController)
expect(appController.getHello()).toBe('Hello World! - test')
expect(appController.getHello()).toBe('Hello Demo!')
})
})
})
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! - test'
return 'Hello Demo!'
}
}
2 changes: 1 addition & 1 deletion frontend/test/app.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ describe('AppController (e2e)', () => {
it('/ (GET)', () => request(app.getHttpServer())
.get('/')
.expect(200)
.expect('Hello World!'))
.expect('Hello Demo!'))
})

0 comments on commit 198a5bf

Please sign in to comment.