fix: pluralization rule for the info word (#10599)

This commit is contained in:
Harminder Virk authored and GitHub committed 2024-12-13 16:09:09 +05:30
1 parent 03803283d6
commit ae1d875fcf
6 files changed
+17 -1

No files matched your search

@@ -12,6 +12,7 @@ describe("pluralize", function () {
"hero",
"potato",
"address",
"info",
]
const expectedOutput = [
@@ -24,6 +25,7 @@ describe("pluralize", function () {
"heroes",
"potatoes",
"addresses",
"info",
]
words.forEach((word, index) => {
@@ -1,4 +1,5 @@
import pluralizeEN from "pluralize"
pluralizeEN.addUncountableRule("info")
/**
* Function to pluralize English words.