mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-26 23:39:13 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
14 lines
323 B
TypeScript
14 lines
323 B
TypeScript
import cmdSerializer from './cmd-serializer.ts';
|
|
|
|
describe('logger/cmd-serializer', () => {
|
|
it('returns array', () => {
|
|
expect(cmdSerializer([''])).toEqual(['']);
|
|
});
|
|
|
|
it('redacts', () => {
|
|
expect(cmdSerializer(' https://token@domain.com')).toEqual(
|
|
' https://**redacted**@domain.com',
|
|
);
|
|
});
|
|
});
|