2
0
mirror of https://github.com/tenrok/maska.git synced 2026-06-08 17:22:27 +03:00

Cleanup of mask.js code

This commit is contained in:
Alexander Shabunevich
2019-12-04 13:35:00 +03:00
parent 2f71d54a5a
commit 9e9be04de7
2 changed files with 6 additions and 3 deletions
+4
View File
@@ -45,6 +45,10 @@ test('12 #!#(#)', () => {
expect(mask('12', '#!#(#)', tokens)).toBe('1#(2)')
})
test('12 #!!#', () => {
expect(mask('12', '#!!#', tokens)).toBe('1!2')
})
test('12 +1 #', () => {
expect(mask('12', '+1 #', tokens)).toBe('+1 2')
})