renovate/lib/util/mask.spec.ts
2021-11-08 13:16:58 +01:00

13 lines
316 B
TypeScript

import { maskToken } from './mask';
describe('util/mask', () => {
describe('.maskToken', () => {
it('returns value if passed value is falsy', () => {
expect(maskToken('')).toBe('');
});
it('hides value content', () => {
expect(maskToken('123456789')).toBe('12*****89');
});
});
});