typeerror is not a function react jest

url to m3u