test: join 100 club

pull/11/head
Amio 2018-08-22 15:49:21 +08:00
rodzic 749f7a6c12
commit 1e3150633f
2 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -16,3 +16,7 @@ exports[`test/calc-text-width.spec.js TAP calc width for unicode > result is cor
exports[`test/calc-text-width.spec.js TAP calc width for emojis > result is correct 1`] = `
348
`
exports[`test/calc-text-width.spec.js TAP calc width for (not really) emojis > result is correct 1`] = `
0
`

Wyświetl plik

@ -22,3 +22,8 @@ tap.test('calc width for emojis', t => {
t.matchSnapshot(calcWidth('💩🤱🦄', true), 'result is correct')
t.end()
})
tap.test('calc width for (not really) emojis', t => {
t.matchSnapshot(calcWidth('', true), 'result is correct')
t.end()
})