Skip to content

Commit

Permalink
test: 뺄셈 테스트 추가 (#4)
Browse files Browse the repository at this point in the history
* test: 뺄셈 테스트 추가

* chore: codecov 세팅 값 변경

* chore: codecov 세팅 변경

* chore: codecov 세팅 변경

* chore: codecov 수정
  • Loading branch information
Coalery authored Aug 31, 2023
1 parent b2c7001 commit 9a15aab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 4 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
ignore:
- '**/*.module.ts'
- "**/*.module.ts"

comment:
layout: 'reach, diff, files'
layout: "reach, diff, files"
behavior: default
require_changes: false
require_base: false
require_head: true
7 changes: 7 additions & 0 deletions src/sight/app.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@ describe('AppService', () => {
expect(result).toEqual(2);
});
});

describe('subtract', () => {
test('2에서 1을 빼면 1이 반환되어야 한다', () => {
const result = appService.subtract(2, 1);
expect(result).toEqual(1);
});
});
});

0 comments on commit 9a15aab

Please sign in to comment.