kopia lustrzana https://github.com/badgen/badgen
test: join 100 club
rodzic
749f7a6c12
commit
1e3150633f
|
@ -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`] = `
|
exports[`test/calc-text-width.spec.js TAP calc width for emojis > result is correct 1`] = `
|
||||||
348
|
348
|
||||||
`
|
`
|
||||||
|
|
||||||
|
exports[`test/calc-text-width.spec.js TAP calc width for (not really) emojis > result is correct 1`] = `
|
||||||
|
0
|
||||||
|
`
|
||||||
|
|
|
@ -22,3 +22,8 @@ tap.test('calc width for emojis', t => {
|
||||||
t.matchSnapshot(calcWidth('💩🤱🦄', true), 'result is correct')
|
t.matchSnapshot(calcWidth('💩🤱🦄', true), 'result is correct')
|
||||||
t.end()
|
t.end()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
tap.test('calc width for (not really) emojis', t => {
|
||||||
|
t.matchSnapshot(calcWidth('', true), 'result is correct')
|
||||||
|
t.end()
|
||||||
|
})
|
||||||
|
|
Ładowanie…
Reference in New Issue