mirror of
https://github.com/iptv-org/iptv
synced 2026-10-24 11:58:35 -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:
1 parent
b618525815
commit
2c21f19496
3 files changed
+25
-8
No files matched your search
@@ -0,0 +1,3 @@
|
||||
const dns = require('node:dns')
|
||||
|
||||
dns.lookup = (_hostname, callback) => callback(new Error('offline'))
|
||||
Reference in new issue
Block a user