wip: unit test fixes continued

This commit is contained in:
jdalton
2023-09-21 07:45:49 -07:00
parent bd518dd906
commit a79c5c434c
14 changed files with 66 additions and 77 deletions

View File

@@ -24,8 +24,8 @@ describe('startsWith and endsWith', () => {
expect(func(string, 'b', Object(position))).toBe(true);
expect(
func(string, 'b', { toString: lodashStable.constant(String(position)) }),
).toBeTruthy();
func(string, 'b', { toString: lodashStable.constant(String(position)) })
).toBe(true);
});
it('should return `true` when `target` is an empty string regardless of `position`', () => {