mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2024-12-01 04:04:07 +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 ');
|
||
|
});
|