From 556dda6c530efa181f6d3b2f8e0228f2673b5336 Mon Sep 17 00:00:00 2001 From: Minsu <52266597+Gaic4o@users.noreply.github.com> Date: Fri, 22 Mar 2024 17:25:47 +0900 Subject: [PATCH] test(@toss/utils): rewrite difference, differenceWith test code in english (#430) --- packages/common/utils/src/difference.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/common/utils/src/difference.spec.ts b/packages/common/utils/src/difference.spec.ts index 8399070f0..14fa35ca9 100644 --- a/packages/common/utils/src/difference.spec.ts +++ b/packages/common/utils/src/difference.spec.ts @@ -1,7 +1,7 @@ import { difference, differenceWith } from './difference'; -describe('difference는', () => { - it('두 개의 배열의 차이를 반환한다.', () => { +describe('difference', () => { + it('returns the difference of two arrays.', () => { const a = [1, 2, 3, 4, 5]; const b = [2, 3, 4, 5, 6]; const result = difference(a, b); @@ -9,8 +9,8 @@ describe('difference는', () => { }); }); -describe('differenceWith는', () => { - it('`areItemsEqual`이 가리키는 대로 잘 difference 연산을 수행한다', function () { +describe('differenceWith', () => { + it('performs the difference operation as directed by `areItemsEqual`', function () { const objects = [ { x: 1, y: 2 }, { x: 2, y: 1 },