mirror of
https://github.com/iptv-org/iptv
synced 2026-09-06 12:01:57 -04:00
Return failure status when playlist checks are offline (#49872)
* fix: fail playlist tests when offline * test: move offline playlist check into test suite
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
const dns = require('node:dns')
|
||||
|
||||
dns.lookup = (_hostname, callback) => callback(new Error('offline'))
|
||||
Reference in New Issue
Block a user