From 9a15aab11df7ebf89da214e23d29cea23ecdd814 Mon Sep 17 00:00:00 2001 From: "Kim Hyeon Woo, Lery" Date: Fri, 1 Sep 2023 02:07:15 +0900 Subject: [PATCH] =?UTF-8?q?test:=20=EB=BA=84=EC=85=88=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=20=EC=B6=94=EA=B0=80=20(#4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * test: 뺄셈 테스트 추가 * chore: codecov 세팅 값 변경 * chore: codecov 세팅 변경 * chore: codecov 세팅 변경 * chore: codecov 수정 --- codecov.yml | 6 ++++-- src/sight/app.service.spec.ts | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/codecov.yml b/codecov.yml index 65e65e2..ac54e8b 100644 --- a/codecov.yml +++ b/codecov.yml @@ -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 diff --git a/src/sight/app.service.spec.ts b/src/sight/app.service.spec.ts index 8d16fce..ac76c0e 100644 --- a/src/sight/app.service.spec.ts +++ b/src/sight/app.service.spec.ts @@ -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); + }); + }); });