mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2024-11-30 19:54:23 +01:00
8 lines
258 B
TypeScript
8 lines
258 B
TypeScript
import { filterOutDigits } from 'src/support/stringFunctions';
|
|
|
|
test('filterOutDigits', async () => {
|
|
expect(filterOutDigits('')).toEqual('');
|
|
expect(filterOutDigits('a b c')).toEqual('a b c');
|
|
expect(filterOutDigits('a1b 2c 3')).toEqual('ab c ');
|
|
});
|