signal-desktop/test/stickers_test.js
2020-08-28 15:42:24 -04:00

14 lines
294 B
JavaScript

/* global Signal */
const { Stickers } = Signal;
describe('Stickers', () => {
describe('redactPackId', () => {
it('redacts pack IDs', () => {
assert.strictEqual(
Stickers.redactPackId('b9439fa5fdc8b9873fe64f01b88b8ccf'),
'[REDACTED]ccf'
);
});
});
});