mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 08:36:26 +00:00
13 lines
322 B
TypeScript
13 lines
322 B
TypeScript
import { maskToken } from './mask';
|
|
|
|
describe('util/mask', () => {
|
|
describe('.maskToken', () => {
|
|
it('returns value if passed value is falsy', () => {
|
|
expect(maskToken('')).toEqual('');
|
|
});
|
|
|
|
it('hides value content', () => {
|
|
expect(maskToken('123456789')).toEqual('12*****89');
|
|
});
|
|
});
|
|
});
|