kopia lustrzana https://github.com/badgen/badgen
test: update tests
rodzic
da756fca74
commit
166ed83488
|
@ -10,13 +10,9 @@ exports[`test/calc-text-width.spec.js TAP calc width for "npm" > result is corre
|
|||
`
|
||||
|
||||
exports[`test/calc-text-width.spec.js TAP calc width for unicode > result is correct 1`] = `
|
||||
580
|
||||
550
|
||||
`
|
||||
|
||||
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
|
||||
330
|
||||
`
|
||||
|
|
|
@ -26,11 +26,6 @@ tap.test('calc width for accented characters', t => {
|
|||
})
|
||||
|
||||
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.matchSnapshot(calcWidth('💩🤱🦄'), 'result is correct')
|
||||
t.end()
|
||||
})
|
||||
|
|
Ładowanie…
Reference in New Issue