Skip to content

Conversation

@sukvvon
Copy link
Contributor

@sukvvon sukvvon commented Nov 25, 2025

Summary

  • Remove duplicate test cases in negate.spec.ts
  • Rename duplicate test titles in add.spec.ts and set.spec.ts to be more specific
  • Enable vitest/no-identical-title as error (remove from warn override)

Changes

  • negate.spec.ts: Remove duplicated test case
  • add.spec.ts: Differentiate test titles for positive, negative, and mixed number cases
  • set.spec.ts: Differentiate test titles for nested path depths and object/array combinations
  • eslint.config.mjs: Remove vitest/no-identical-title from warn rules (defaults to error)

Screenshot

AS-IS

image

TO-BE

image

@vercel
Copy link

vercel bot commented Nov 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
es-toolkit Ready Ready Preview Comment Nov 25, 2025 3:32am

Comment on lines -18 to -24
it('should create a function that negates the result of `func`', () => {
const negateFn = negate(isEven);

expect(negateFn(1)).toBe(true);
expect(negateFn(2)).toBe(false);
});

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was duplicated

@sukvvon sukvvon marked this pull request as ready for review November 25, 2025 03:26
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.97%. Comparing base (335011b) to head (beefc87).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1535   +/-   ##
=======================================
  Coverage   99.97%   99.97%           
=======================================
  Files         474      474           
  Lines        4492     4492           
  Branches     1313     1313           
=======================================
  Hits         4491     4491           
  Misses          1        1           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Collaborator

@raon0211 raon0211 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much!

@raon0211 raon0211 merged commit 602a428 into toss:main Nov 29, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants