Use babel polyfill in karma

This commit is contained in:
Maxim Filippov 2018-12-13 20:27:03 +03:00
parent e4a34cc4d4
commit 1341a7bb9c
4 changed files with 20 additions and 3 deletions

View file

@ -5,6 +5,6 @@ const generateProfileLink = (id, screenName) => {
}
}
const isExternal = screenName => (screenName.indexOf('@') > -1)
const isExternal = screenName => screenName.includes('@')
export default generateProfileLink