Address code review feedback - improve test cleanup and remove redundant test
Co-authored-by: rfc1437 <774975+rfc1437@users.noreply.github.com>
This commit is contained in:
@@ -137,10 +137,6 @@ describe('stemmer', () => {
|
||||
expect(stemText(' ', 'english')).toBe('');
|
||||
});
|
||||
|
||||
it('should return empty string for null/undefined-like empty text', () => {
|
||||
expect(stemText('', 'english')).toBe('');
|
||||
});
|
||||
|
||||
it('should handle multiple spaces between words', () => {
|
||||
const result = stemText('Running dogs are playing', 'english');
|
||||
const words = result.split(' ');
|
||||
|
||||
Reference in New Issue
Block a user