Skip to content

Commit d9b461d

Browse files
committed
Formatted
1 parent 6906e9a commit d9b461d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/lib/string.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import {
44
capitalize,
55
uncapitalize,
66
truncate,
7+
ltrim,
8+
rtrim,
9+
trim,
710
isValidSwissIbanNumber,
811
isValidSwissSocialSecurityNumber,
912
} from "./string";
@@ -157,7 +160,8 @@ describe("string tests", () => {
157160
])("trim", (haystack, needle, expected) => {
158161
expect(trim(haystack, needle)).toBe(expected);
159162
});
160-
163+
164+
test.each([
161165
[null as unknown as string, false],
162166
[undefined as unknown as string, false],
163167
["CH9300762011623852957", true],

0 commit comments

Comments
 (0)