1
0
mirror of https://github.com/pavlobu/deskreen.git synced 2025-05-16 15:30:20 -07:00
deskreen/app/server/utils/utils.test.ts
Pavlo Buidenkov a3996c7a76 added darkwire.io server and app/client
add client test works
2020-08-30 16:49:23 +03:00

8 lines
188 B
TypeScript

import { sanitize } from './index';
test('sanitizes should strip bad characters', () => {
expect(sanitize('d@rkW1r# e is L3git&&!&*A*')).toBe(
'd-rkW1r--e-is-L3git-----A-'
);
});