test: ignore more code that jest cannot test (#109)
This commit is contained in:
parent
68ddbd770e
commit
ae68162637
|
@ -38,7 +38,7 @@ module.exports = {
|
|||
statements: 98,
|
||||
branches: 96,
|
||||
functions: 100,
|
||||
lines: 99
|
||||
lines: 100
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -105,6 +105,8 @@ const isSkinToneOption = element => /^skintone-/.test(element.id)
|
|||
//
|
||||
|
||||
emojiSupportLevelPromise.then(level => {
|
||||
// Can't actually test emoji support in Jest/JSDom, emoji never render in color in Cairo
|
||||
/* istanbul ignore next */
|
||||
if (!level) {
|
||||
message = i18n.emojiUnsupportedMessage
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue